Sign in to follow this  
OZ BAR

Doughnut3D Invalid Xml Error

Recommended Posts

Hi,

 

I set the data of the chart Doughnut3D by setJSONData

the JSON data is 

{"chart":{"caption":"Aged Payables","decimals":"2","numberScaleValue":"1000","numberScaleUnit":"K","pieRadius":"170","plotGradientColor":"","placeValuesInside":"1","showValues":"1","showPercentageValues":"1","showLabels":"1","isSmartLineSlanted":"0"},"data":[{"label":"0 - 30 ","value":880691.40533252},{"label":"31 - 60 ","value":45047.696433047},{"label":"61 - 90 ","value":347023.7244094},{"label":"0ver 91 days","value":1423969.7591427}]}

 

in one from 20 i get the error for invalid XML, i dont understand it, same data but different result

 

Do you have any idea why it is?

 

Thanks

Oz

Share this post


Link to post
Share on other sites
Hi,

 

The JSON data that you have sent works fine at our end using the latest version v3.3.1 SR1. Please find the attached screenshot of the same. 

 

Could you please let us know the FusionCharts version that you are using?

 

Awaiting your response. :)

post-37797-0-73617800-1367475965_thumb.png

Share this post


Link to post
Share on other sites

I update the JS, php, and the charts from  your update center no i have version fusioncharts/3.3.1-sr1.19666

but i still have this error once in awhile

 

As you can see in my attachment i have 2 charts in the same page but the bottom chart is not shown 

the debug details are:

 

 

Info: Chart loaded and initialized.
Initial Width: 500
Initial Height: 250
Scale Mode: noScale
Debug Mode: Yes
Application Message Language: EN
Chart Type: 3D Doughnut Chart
Version: 3.3.1 (XT) 
Chart Objects: 
BACKGROUND
CANVAS
CAPTION
SUBCAPTION
DATALABELS
DATAPLOT
TOOLTIP
LEGEND
 
INFO: Chart registered with external script. DOM Id of chart is AP_CHART
INFO: setDataXML method invoked from external script.
INFO: XML Data provided using dataXML method.
XML Data: <chart caption="Aged Payables" decimals="2" numberscalevalue="1000" numberscaleunit="K" pieradius="150" plotgradientcolor="" placevaluesinside="1" showvalues="1" showpercentagevalues="1" showlabels="1" issmartlineslanted="0"><set label="0 - 30 " value="879767.62218713" /><set label="31 - 60 " value="45105.291839292" /><set label="61 - 90 " value="329612.77241036" /><set label="0ver 91 days" value="1441644.7289151" /></chart>
INFO: setDataXML method invoked from external script.
INFO: XML Data provided using dataXML method.
ERROR: Invalid XML encountered. An end-tag is encountered without a matching start-tag. Click the above "dataURL Invoked" link to see the XML in browser Or check the XML data provided.
 

 

 

post-10188-0-50376200-1367486103_thumb.png

Edited by OZ BAR

Share this post


Link to post
Share on other sites

 

I update the JS, php, and the charts from  your update center no i have version fusioncharts/3.3.1-sr1.19666

but i still have this error once in awhile

 

As you can see in my attachment i have 2 charts in the same page but the bottom chart is not shown 

the debug details are:

 

 

Info: Chart loaded and initialized.
Initial Width: 500
Initial Height: 250
Scale Mode: noScale
Debug Mode: Yes
Application Message Language: EN
Chart Type: 3D Doughnut Chart
Version: 3.3.1 (XT) 
Chart Objects: 
BACKGROUND
CANVAS
CAPTION
SUBCAPTION
DATALABELS
DATAPLOT
TOOLTIP
LEGEND
 
INFO: Chart registered with external script. DOM Id of chart is AP_CHART
INFO: setDataXML method invoked from external script.
INFO: XML Data provided using dataXML method.
XML Data: <chart caption="Aged Payables" decimals="2" numberscalevalue="1000" numberscaleunit="K" pieradius="150" plotgradientcolor="" placevaluesinside="1" showvalues="1" showpercentagevalues="1" showlabels="1" issmartlineslanted="0"><set label="0 - 30 " value="879767.62218713" /><set label="31 - 60 " value="45105.291839292" /><set label="61 - 90 " value="329612.77241036" /><set label="0ver 91 days" value="1441644.7289151" /></chart>
INFO: setDataXML method invoked from external script.
INFO: XML Data provided using dataXML method.
ERROR: Invalid XML encountered. An end-tag is encountered without a matching start-tag. Click the above "dataURL Invoked" link to see the XML in browser Or check the XML data provided.

Hi,

 

We are unable to replicate the issue with XML you have provided. The Doughnut 3D chart is displayed perfectly as expected. :(

 

However, we would suggest you to click on the "dataURL Invoked" link on the Debug Mode box, as mentioned, in order to view the exact issue when this error is occurring.

 

Hope this helps. :)

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