Sign in to follow this  
ndorfnz

What's Wrong With This Xml?

Recommended Posts

Driving me freakin' crazy! Simply graphing one data point for each year.

 

Example

2689.99 for 2009

1857.17 for 2010

 

My 2010 value keeps showing on 2009 and not under my 2010 category!?

 

Here's the xml being generated:


"<chart alternateHGridColor='3f3f3f' canvasBgColor='ffffff' canvasBgAlpha='50' canvasBaseColor='000000' toolTipBorderColor='000000' toolTipBgColor='3f3f3f' legendBgColor='000000' divLineColor='666666' baseFont='Verdana' baseFontSize ='10' baseFontColor ='ffffff' borderThickness='1' lineThickness='2' bgcolor='000000' caption='' PYAxisName='distance' SYAxisName='distance' xAxisName='day' numberPrefix='' formatNumberScale='0' showValues='1' decimals='2' >
<categories><category name='2009' /><category name='2010' /></categories>
<dataset seriesName='2009' parentYAxis='S' color='ffffff'><set value='2689.986' /></dataset>
<dataset seriesName='2010' color='3f3f3f'><set value='1857.17' />
</dataset></chart>")

 

And the chart:

chart.jpg

Edited by ndorfnz

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