I have a little demo web page that had five buttons on it (Column2D, Column3D, Pie2D, Pie3D, Line). In the past, I have been able to click any button and have the swf change based on which button I clicked. This allowed me to see the same data in 5 different forms.
Here is the function that I have been using to switch my swf:
chart1.setAttribute('swf', 'http://marks/FusionCharts/charts/' + chartType + '.swf');
chartType is passed in as the name of the actual SWF that is saved on my machine.
Here is the function that I am using to switch my data sources:
chart1 = getChartFromId("main_chart");
if(toFile == "True")
For the record, chart1 and xmlData are both global.
The code seems to error when I call chart1's render function. However, this only occurs when the Multi-Series chart is involved. If it is removed, everything is fine. Any thoughts?