Sign in to follow this  
FusionCharts Support

FusionCharts real time update

Recommended Posts

Hi all..

 

I'm trying to update some FusionCharts values in real-time. Using method setDataXML, chart reloads almost without any flick, but using setDataURL chart flick is notorious!! Am I missing something?

 

 

 

Is there a way to animate only the changing values? Ex: We have a chart to display, say: "number of clients inside store / zone". We are polling a datasource to update that number every 1 min. I would like to see only the bars where values changed going up and down (animated), without redrawing all the bars! Is that possible?

 

 

 

Code snippet!

 

--------------

 

var chart1 = new FusionCharts("../fusion/charts/MSColumn3DLineDY.swf", "ChartId", "500", "300", "0", "1");

 

chart1.setDataURL("Col3DLineDY.xml");

 

chart1.render("somediv");

 

//Update chart with new values after five seconds.

 

setTimeout( function() { chart1.setDataXML(IncCol3DLineDY.xml); }, 5000);

 

--------------

 

 

 

Thanks,

 

Rui

Share this post


Link to post
Share on other sites

I would like to see this feature too. It looks like a mistake when only one value changes dynamically and every bar moves. We are eliminating the animation from the chart entirely because of it, even though it's one of the coolest features when the data justifies it.

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Your suggestions are very important to us.

 

 

 

We have made a note of this :)

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