Hi,
I have a problem with some javascript and the latest version of FusionCharts.
I have multiple charts on one page, each one in an iframe because I generate images and create a pdf.
I have the following code - for debug purposes - with the output produced:
alert (top.frames['frame1'].document.getElementById('chart'));
Safari: [object HTMLEmbedElement]
IE: [object]
alert (top.frames['frame1'].document.getElementById('chart').saveAsImage);
Safari: function saveAsImage() { ... }
IE: function () { ... }
alert (top.frames['frame1'].getChartFromId("chart"));
Safari: [object HTMLEmbedElement]
IE: [object Object]
alert (top.frames['frame1'].getChartFromId("chart").saveAsImage);
Safari: function saveAsImage() { ... }
IE: undefined
With IE6, when I try to use the getChartFromId method to retrieve the chart object and call the function saveAsImage(), it looks like the object is not returned with the right type? Am I doing something wrong?
Thank you for your help.