Drag Node Chart - registerWithJS problem in Internet Explorer
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Drag Node Chart - registerWithJS problem in... Expand / Collapse
Author
Message
Posted 2/1/2007 5:48:56 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/19/2007 12:19:05 PM
Posts: 6, Visits: 14
When using the following code:

<div id="chartdiv" align="center"> FusionCharts. </div>

<script type="text/javascript">
var chart = new FusionCharts("/Charts/DragNode.swf", "TestChart", "3000", "3000", "0", "1");
chart.setDataURL("DragNode1.xml");
chart.render("chartdiv");
</script>


Internet Explorer throws the following error: "TestChart" is undefinied.
This is preventing me using the getXMLData in internet explorer. The code works fine in Firefox.

Does anyone have any suggestions?

James

Post #262
Posted 2/2/2007 1:01:07 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 5/12/2008 6:29:47 AM
Posts: 1,772, Visits: 448
Are you using the chart inside a FORM? If yes, you'll need to pull it outside the FORM, before you can connect it to JavaScript.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #269
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 3:32am


Execution: 0.109.