Basilio Report post Posted December 28, 2010 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
juanpaco Report post Posted December 28, 2010 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
Basilio Report post Posted December 28, 2010 (edited) 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 December 28, 2010 by Basilio Share this post Link to post Share on other sites
Sanjukta Report post Posted December 29, 2010 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
LadySciFi Report post Posted February 10, 2012 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
Guest Sumedh Report post Posted February 21, 2012 Greetings, You can use FusionWidgets XT, as it support real-time charts. For more information refer:http://docs.fusionch...meOverview.html You can use real-time chart with FusionCharts evaluation version. You can get it from here: http://www.fusioncha...ownload/trials/ or you can buy licensed version, http://www.fusioncharts.com/buy/ Hope this helps. Share this post Link to post Share on other sites