mitch Report post Posted November 10, 2009 Is it possible to create a FusionChart that wraps data? In other words. suppose I have a chart that updates every minute but holds no more than say 5 minutes total. The X-axis might have labels like minute 1, minute 2, minute 3, minute 4, minute 5. At minute 1 only one minutes worth of values are plotted and the area of the canvas along minutes 2, 3, 4, and 5 displays just the background color. At minute two, without redrawing the entire chart, values are now plotted along minute 1, and 2, while the data for minutes 3, 4, and 5 is still blank. This should continue until all 5 minutes along the X axis have been plotted and finally the chart rebuilds anew and the whole process starts over. Can this be done in Fusion Charts? Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 11, 2009 Hello, You cannot natively achieve this on our charts. However, you can use javascript to acheve the same. You can choose to follow the steps below to achieve this: 1. Add the chart for minute1, setting the value for minute1 in the <set> element while keeping the remaining 4 sets empty. 2. Use the javascript function setInterval() with interval set for a minute. 3. Build XML 4. update data setting animation='0' 5. count minutes. 6. If minutes=4 then goto step 1 //start the process again. Ref. :- http://www.fusioncharts.com/docs/Contents/JS_setDataXML.html Hope this helps. Share this post Link to post Share on other sites