ng2-charts icon indicating copy to clipboard operation
ng2-charts copied to clipboard

ng2-charts does not provide module bifurcation

Open vishranti5 opened this issue 6 years ago • 1 comments

Reproduction of the problem

ng2-charts is a port & modification of Chart.js component for Angular 2. Sometimes the issue is related with Chart.js instead of ng2-charts. To confirm, if the issue shows in a pure Chart.js project, it is a issue of Chart.js. Pure Chart.js starting template: https://jsfiddle.net/Hongbo_Miao/mvct2uwo/3/

If the issue does not show in a pure Chart.js project, and shows in a ng2-charts project, please try to provide a minimal demo of the problem. ng2-charts starting template: http://plnkr.co/edit/Ka4NXG3pZ1mXnaN95HX5?p=preview

vishranti5 avatar Aug 28 '19 11:08 vishranti5

I have created webcomponent using angular elements. This webcomponent has bar chart for which we used ng2-charts. It is working fine but the size of generated bundle is high. currently we imported whole chartsModule from ng2-chart, instead of this can we only import barchartsmodule? Is there any such option available, so that i can minimize bundle size

vishranti5 avatar Aug 28 '19 11:08 vishranti5