setDataXML method bug
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



setDataXML method bug Expand / Collapse
Author
Message
Posted 1/3/2008 12:53:31 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/10/2008 4:51:36 PM
Posts: 9, Visits: 13
Please see this thread: http://www.fusioncharts.com/forum/Topic3569-41-1.aspx

The setDataXML expects the string to have single quotes for the attributes.  This is Version 3.  I dropping back down to the Version2 or Free and see what happens.

This works.

myChart.setDataXML("<chart caption='test' decimals='0' enableSmartLabels='1'><set label='Alchemy' value='4' /><set label='Orion/Pegasus' value='38' /><set label='Other' value='56' /><set label='SandCraft' value='34' /><set label='Scalable Processor Solutions' value='57' /></chart>");

This does not work.

myChart.setDataXML('<chart caption="test" decimals="0" enableSmartLabels="1"><set label="Alchemy" value="4" /><set label="Orion/Pegasus" value="38" /><set label="Other" value="56" /><set label="SandCraft" value="34" /><set label="Scalable Processor Solutions" value="57" /></chart>');

Post #3590
Posted 1/7/2008 5:02:03 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 2:58:00 AM
Posts: 811, Visits: 1,289
hi,
Thanks for pointing this out.
Can you please try the new FusionCharts.js (for v3 charts) that i attach here and try again. I have put a fix for the issue. We will release the JS in our next release.

NOTE : Please rename the attached FusionCharts.js.txt to FusionCharts.js


Regards,

Sudipto Choudhury
FusionCharts Team


  Post Attachments 
FusionCharts.js.txt (11 views, 11.45 KB)
Post #3667
Posted 1/8/2008 8:10:25 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/10/2008 4:51:36 PM
Posts: 9, Visits: 13
Yes, it's working both ways now.

Thanks.

Post #3710
« Prev Topic | Next Topic »


Permissions Expand / Collapse

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


Execution: 0.156.