Sign in to follow this  
dsanjay

Is it possible to feed data from javascript to chart for real time charting?

Recommended Posts

Hi -

 

I get real-time updated data in a javascript method called from my framework, is it possible to feed this data from javascript to the chart for real time charting?

 

 

 

thanks.

Share this post


Link to post
Share on other sites

...

 

Greetings,

 

 

 

After you have received the data from your JavaScript method, you can do the following:

 

1. Create a FusionCharts compatible data-xml from your data

 

2. Update FusionCharts with the XML generated from step 1.

 

 

 

The process to update Chart using JavaScript is mentioned at "FusionCharts and JavaScript" section in FusionCharts documentation. (Ref: http://www.fusioncharts.com/docs/ )

 

 

 

In particlular, look out for the setDataXML() method exposed by FusionCharts. (Ref: http://www.fusioncharts.com/Docs/?JS_setDataXML.html )

Edited by Guest

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