Sign in to follow this  
regnillob

setDataXML for Gantt does not like double quotes for attributes

Recommended Posts

Referring to the XML in my prior example, I hand edited the text in JavaScript to confirm that single quoted attributes with the XML enclosed in double quotes works, but if I have my attributes double-quoted with the XML string in single quotes, the chart reports invalid XML for the same XML. Why?

 

 

 

It is much more difficult to format my XML with single-quoted attribute values, since the conversion automatically renders them with double quotes. Is there a workaround for this problem?

 

 

 

Thanks!

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please try using our FusionCharts.js (with header saying Version: 1.2.4 (16th February, 2009) or more) and let us know?

This file has the fix where you can use XML like this:

setDataXML('<chart animation="1" />');

Please let us know attaching a scaled down version of the code that you are using if you are still facing issue.

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