Problem in Javascript while XML data Updating
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Problem in Javascript while XML data Updating... Expand / Collapse
Author
Message
Posted 1/30/2008 12:21:14 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/12/2008 6:39:09 AM
Posts: 8, Visits: 29
Hi FC,

I am displaying chart with some default data,and i am updating the XML data it is giving JavaScript error as

chart1.setDataXML is not a function

My Code is :-



FusionGadgets








Post #4223
Posted 1/30/2008 12:44:15 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884, Visits: 1,420
hi,

To update you chart from JavaScript you need to register the chart with JS this can be done while defining th chart...i am modifying your code :

var myChart = new FusionCharts("../Charts/AngularGauge.swf", "myChartId", "350", "200", "0", "1");

This 1 registers the chart with JS and you can now do interactions with the chart using javaScript.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4226
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 7:02pm


Execution: 0.109.