ayhi Report post Posted May 10, 2010 I've got a simple 2D Scroll Line Chart set up that has data point for each week. On the X axis is the week, and Y axis is some value. I'd like to get X axis to rescale on a click of a button to show data points from once a month, rather than once a week. In other words, show a more condensed / zoomed out view of the current data that I already have in the chart. I've searched and couldn't find anything like this in the documentation or forums. The current way I was thinking about doing it was using JavaScript to switch between two different XML files, but maintaining the two XML files seems to be somewhat of a hassle. Can anyone point in the right direction, or help with a better solution? Thanks. ayhi Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 11, 2010 Hi Ayhi, Welcome to FusionCharts forum. In case you wish to update the rendered chart with a new set of data to display a more condensed / zoomed out view of the current data that you already have in the chart you need to pass the new XML data (with monthly data) to the chart using the setDataURL/setDataXML method. As you have already stated, you can update the chart with new set of data using Javascript methods. For furtherdetails on the same, please refer to the links below:- Ref.- http://www.fusioncharts.com/docs?/JS_setDataXML.html http://www.fusioncharts.com/docs?/JS_setDataURL.html I hope this helps. Share this post Link to post Share on other sites