Include only chart relevant JS-files

The documentation for Chart JS says that it's necessary to add ej.web.all.min.js, which size is 9.4 Mb. Is it all really needed for creating a chart? Is it possible to include only JS needed for ejChart? 

3 Replies

SK Saravana Kumar Kanagavel Syncfusion Team September 30, 2016 10:06 AM UTC

Hi Anastasia, 
 
Thanks for contacting Syncfusion Support. 
We have analyzed your query. If you wish to render a particular control alone, then you can download that control script alone from the below link and can refer that in your sample. 
 
 
 
<script src="ej.chart.min.js" type="text/javascript"></script> 
 
In the above code, we have referred ej.chart.min.js file only which is enough to render a chart. This size will be less than 1 MB. 
And we have also prepared a simple chart sample for your reference and attached in the below location. 
 
Please let us know if you have any concern. 
 
Regards, 
Saravana Kumar K 



AN Anastasia September 30, 2016 10:47 AM UTC

Thank you for help! It works.


DD Dharanidharan Dharmasivam Syncfusion Team October 3, 2016 09:33 AM UTC

Hi Anastasia, 

Thanks for your update. Kindly revert us, if you require any further assistance. 

Thanks, 
Dharani. 


Loader.
Up arrow icon