tadhg88 Report post Posted February 5, 2007 Hi I am trying to incorporate FusionCharts v3 into a C# ASP.NET project but am having problems refreshing the graph on postback. When I retrieve the necessary data from database I build an xml file using this data, save this file and then use this file to generate the graph but it Share this post Link to post Share on other sites
Pallav Report post Posted February 6, 2007 You can use the following JavaScript code to stop caching of XML data: chart1.setDataURL(escape("xmlfile.xml?currTime=" + getTimeForURL())); /** * getTimeForURL method returns the current time * in a URL friendly format, so that it can be appended to * dataURL for effective non-caching. */ function getTimeForURL(){ var dt = new Date(); var strOutput = ""; strOutput = dt.getHours() + "_" + dt.getMinutes() + "_" + dt.getSeconds() + "_" + dt.getMilliseconds(); return strOutput; } Share this post Link to post Share on other sites
tadhg88 Report post Posted March 29, 2007 hi i have come across the same prob as above with the drilldown of the charts as i could not fix it the last time, the first chart is a 3DColumn chart and the columns are links to the same page so the first time you click on a column a pie chart is then displayed containing more data but there is a checkbox on the page which changes the data ranges of the data in the pie chart and so changes the data but when the link is clicked with the checkbox changed the same data from is displayed in the graph. the data changes for each column clicked but not when a change is made to the checkbox the data stays the same as for the first load of the graph. any help would be appreciated thanks Share this post Link to post Share on other sites
Pallav Report post Posted April 5, 2007 Just keep adding a timestamp at the end of each dataURL. Share this post Link to post Share on other sites