We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Include only chart relevant JS-files

Thread ID:

Created:

Updated:

Platform:

Replies:

126192 Sep 29,2016 10:16 AM Oct 3,2016 05:33 AM JavaScript 3
loading
Tags: ejChart
Anastasia
Asked On September 29, 2016 10:16 AM

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? 

Saravana Kumar Kanagavel [Syncfusion]
Replied On September 30, 2016 06:06 AM

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 


Anastasia
Replied On September 30, 2016 06:47 AM

Thank you for help! It works.

Dharanidharan Dharmasivam [Syncfusion]
Replied On October 3, 2016 05:33 AM

Hi Anastasia, 

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

Thanks, 
Dharani. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;