donbrookes Report post Posted May 22, 2009 I read the post by MilesD, but i did not get a resoultion from your reply to him. His issue may be different, i am not sure. So here is my issue. I am using the VB control (1.0), which is based on 3.07. I am using 1 control on a form and i refresh it based on the settings and chart they select. I do this by building the XML and then giving the XML to the control using your setDataXML property. here is the code: FusionCharts1.setDataXML = f_workpapers.GraphXML FusionCharts1.chartType = f_workpapers.chartType It works great, but it keeps appending the data and not clearing the chart. Notes: f_workpapers.GraphXML returns a string that contains the xml for the chart. f_workpapers.chartType returns 12 in this case, because i am generating a Multi-series line chart. Share this post Link to post Share on other sites
Rahul Kumar Report post Posted May 23, 2009 Hi, Could you please change your chart type first then use setDataXML property to set XML data to the chart? Example: FusionCharts1.chartType = f_workpapers.chartType FusionCharts1.setDataXML = f_workpapers.GraphXML -OR- FusionCharts1.setDataXML = f_workpapers.GraphXML FusionCharts1.chartType = f_workpapers.chartType FusionCharts1.RenderChart Please let us know if you have further query. Share this post Link to post Share on other sites
donbrookes Report post Posted May 23, 2009 I tried both ideas, but it still appends each time that code is executed. Is there a clear or reset method that i can call that will reset the control? Share this post Link to post Share on other sites
donbrookes Report post Posted May 24, 2009 I figure it out. I had a coding error in my XML, which was causing an append issue. Sorry if this caused any issues. We can delete this post. Share this post Link to post Share on other sites
saptarshi Report post Posted May 24, 2009 Hello, Great to know it is working now We are happy to be of help. Happy FusionCharting. Share this post Link to post Share on other sites