Sign in to follow this  
Basilio

Chart Data Update Without Refresh

Recommended Posts

Hi,

 

Happy Holidays to the FusionCharts Forum!

 

I'm using FusionCharts V3 Trial and i'm evaluating this great product.

 

I would like to know if it's possible to update the data of a chart using javascript without an entirely refresh (for example only bars and line in a MSCombi2D).

I've tryed the real-time charts, but they don't fit well in my cases.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi,

 

Happy Holidays to the FusionCharts Forum!

 

I'm using FusionCharts V3 Trial and i'm evaluating this great product.

 

I would like to know if it's possible to update the data of a chart using javascript without an entirely refresh (for example only bars and line in a MSCombi2D).

I've tryed the real-time charts, but they don't fit well in my cases.

 

Thanks in advance.

 

By "refresh" do you mean refreshing the browser window? If that is the only thing you wish to avoid, then with a lot of graphs you can call the setXMLData function in Javascript. Assuming you registered your chart with Javascript, that would allow you to change the data. It also requires some fanciful page construction to stash your data in JS. You can also supply it a new URL to achieve the same effect. You can also turn of chart animation to make it look snappier. I had to do this in my own project because of the lack of a way to just tell the graph to filter out certain datasets.

 

If you want to avoid the graph basically completely redrawing itself, then I haven't found a way to do that either.

 

Hope that helps.

Share this post


Link to post
Share on other sites

Thanks for your reply.

 

I'm trying to figure out if it's possible to avoid this:

 

If you want to avoid the graph basically completely redrawing itself, then I haven't found a way to do that either.

 

With the animation turned off, every time i call the setXMLData / setJSONData all the graph is refreshed.

 

I just found this post that confirm to me that what i'm asking is not possible, or is it?

 

Thanks.

 

EDIT: post link changed

Edited by Basilio

Share this post


Link to post
Share on other sites

Hi,

 

Please try using the Real-time chart to display new data after every interval mentioned explicitly in the XML.

 

Here the new data is pushed with the already existing data after every interval without refreshing the chart every time.

 

Please refer to the following links for further details on the Real-time capabilities.

Ref.- http://www.fusioncharts.com/widgets/docs/Contents/RealTimeOverview.html

http://www.fusioncharts.com/widgets/docs/Contents/RealTimeDataFormat.html

http://www.fusioncharts.com/widgets/docs/Contents/RealTimeStamp.html

 

In case you wish to update the chart data, I am afraid, the chart has to be refreshed to let the data display.

 

I hope this helps. :)

Share this post


Link to post
Share on other sites

Hi,

 

Please try using the Real-time chart to display new data after every interval mentioned explicitly in the XML.

 

Here the new data is pushed with the already existing data after every interval without refreshing the chart every time.

 

Please refer to the following links for further details on the Real-time capabilities.

Ref.- http://www.fusioncha...meOverview.html

http://www.fusioncha...DataFormat.html

http://www.fusioncha...lTimeStamp.html

 

In case you wish to update the chart data, I am afraid, the chart has to be refreshed to let the data display.

 

I hope this helps. :)

 

Which license(s) support using the Real-time capabilities?

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