Hi Fusion Charts team,
I'm using the updateChartXML method to update the chart data retrieved from the database.
Initially I'm setting up all my chart objects on the page and setting the data XML to an empty chart.
Then when I call my update method to get the chart XML data and set it using the updateChartXML method, the chart fails to animate and teh tooltip values all come out to 0.
When I refresh the page and submit my data again (so updateChartXML gets called again), this time the chart displays fine.
If i replace the chart with a new fusion charts object and use the setDataXML method instead on running my update method it works ok??!!
Is this a Cacheing issue with the browser? If so, how do I get around it? In FC Pro I was using the DataURL method and I could set the noCache setting, but using the XML method how can I acheive this?
Page 1 of 1
Chart not updating fully when calling updateChartXML Chart not updating fully when calling updateChartXML
Other Replies To This Topic
#2
Posted 28 October 2009 - 04:56 AM
Its OK I've discovered where the issue was, I was intially setting the charts to just an empty graph
When I removed this line, it works fine and updates correctly the first time round.
myChart.setDataXML(' ');When I removed this line, it works fine and updates correctly the first time round.
Other Replies To This Topic
#3
Posted 28 October 2009 - 05:14 AM
Hi Ahmed,
Thank you for sharing your idea.
Happy FusionCharting.
Other Replies To This Topic
Page 1 of 1

Back to top
MultiQuote