Sign in to follow this  
crain

Several Errors On Rendering Pie Chart

Recommended Posts

Hi there,

 

We switched now over from flash to JS rendering and almost all of our charts are working.

 

There is a pie chart which is throwing a couple of errors and is not displaying(in flash it shows up).

 

The errors are:

 

XML5618: Invalid character

 

SCRIPT5007: For this property "attributes" no value. Object is null or undefined

FusionCharts.js: Row 135, Character 353

 

No additional information is shown even if I add the debug mode with:

FusionCharts.debugMode.enabled(true);

FusionCharts.debugMode.outputTo(console.log);

 

We have the latest XT release available and using FFX and IE8/9.

 

Thanks for your help!

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi there,

 

We switched now over from flash to JS rendering and almost all of our charts are working.

 

There is a pie chart which is throwing a couple of errors and is not displaying(in flash it shows up).

 

The errors are:

 

XML5618: Invalid character

 

SCRIPT5007: For this property "attributes" no value. Object is null or undefined

FusionCharts.js: Row 135, Character 353

 

No additional information is shown even if I add the debug mode with:

FusionCharts.debugMode.enabled(true);

FusionCharts.debugMode.outputTo(console.log);

 

We have the latest XT release available and using FFX and IE8/9.

 

Thanks for your help!

 

Hi,

 

The JavaScript chart uses strict validation for the XML code. There should be a space between two attributes and none of the attribute should not be defined with the null value.

 

Please check if one of the attribute in your XML code might be left null.

 

If this does not help, please feel free to revert.

Share this post


Link to post
Share on other sites

Thanks for your hint, we had a couple of ampersands in our xml. We thought all charts are handled with the same routines. It seems only the pie chart has some problems with rendering "unescaped" characters. Anyway, thanks for your help and your quick support!!

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