Sign in to follow this  
Skells

malformed xml for stacked 3D column chart

Recommended Posts

Hi,

I'm trying to display a stacked 3D column chart but I keep getting a message saying " Invalid XML encountered. An XML element is malformed. Check the XML data that you've provided. If you've special characters in your XML (like %, &, ' or accented characters), please URL Encode them."

Here's the XML I created:

<

chart caption='Sales Points Breakdown' xAxisName='type of point' yAxisName='no of points'

numberSuffix=' points' showValues='0' animation='true'>

<

categories>

<

category label='Sales Market Appraisal Done'/>

<

category label='Sales Instructions'/>

<

category label='Sales Move First'/>

<

category label='Sales Withdrawn'/>

<

category label='Sales Price Reduction'/>

<

category label='Sales Applicants Registered'/>

<

category label='Sales Viewings Done'/>

<

category label='Sales Offers'/>

<

category label='Sales Agreed'/>

<

category label='Sales Conveyancing Referral'/>

<

category label='Sales HSN Referral'/>

<

category label='Sales FS Referral'/>

<

category label='Sales Inter Branch Referral'/>

</

categories>

<

dataset seriesName='1 - NoArea'>

<

set value='1102' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='1' />

<

set value='1' />

</

dataset>

<

dataset seriesName='3 - NoArea'>

<

set value='23' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

<

set value='0' />

</

dataset>

</

chart>

I can't see anything wrong with the xml - does anyone know if there's a way I can find out which XML element is malformed? 

Thanks in advance

Share this post


Link to post
Share on other sites

Hi,

I'm using version 3.0.4 and I'm using the dataXML method.  I'm trying to load StackedColumn3D.swf.

I haven't had any problems passing XML into column charts and pie charts - it's only this stacked chart that's gone wrong.

Thanks

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