|
||||
How to display Dynamically changing data without refreshing a web page?If you want AnyChart to display periodically changing data you can use refresh_interval attribute of <chart> node. This will allow you to show changing data without reloading a whole web page. SolutionFirst of all you need to create a server script that will provide dynamically changing data, like this one (load it and refresh several times): In xml settings, set 'refresh_interval' attribute of <chart> node:
This attribute will force AnyChart to requery xml file with data and draw a new chart. FinalWatch a live demo on our server: http://www.anychart.com/products/anychart/tutorials/refresh/2dlineSmart.html
|