Sign in to follow this  

Pure Javascript Chart Performance

Recommended Posts

Hi all,

I try to change the flash chart to Javascript chart in our project.

I found the javascript chart performance is low when show 6 charts together or above 6.

So I decide to change show chart way. like when first chart draw complete, the second chart start to draw, see the code:




this way can improve chart performance in browser, but the code is so bad. I want to know other better way.


please help me!!! :)

Share this post

Link to post
Share on other sites
Guest Bindhu



Since you have to render the next chart only after draw complete event of the present chart has been fired, you will have to call drawComplete event on every chart.


The chart id, the XML data, the SWF will be different for each of the charts and writing a common function will not be a good idea.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this