Sign in to follow this  
fxyekim

setDataXML method bug

Recommended Posts

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>');

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this