Sign in to follow this  
dvdutra

Wrong data values when using numberScale

Recommended Posts

Hi, I'm triyng to plot a chart with percentage values, but when the value is below 1% it's displayed incorrectly on mouse over.

 

See the xml below, the second (fev/12) value is 1,64% and is displayed correctly in the chart, but the first value (jan/12), that should be 0,89%, is displayed incorrectly (it's displayed 0,01, without the '%' symbol after the number)

 

Is there a way to fix this?

 

I attached a screenshot.

<chart decimals='2' forceDecimals='1' decimalSeparator=',' inDecimalSeparator=',' numberScaleValue='.01' numberScaleUnit='%'>

<categories>
<category label='jan/12' />
<category label='fev/12' />
<category label='mar/12' />
<category label='abr/12' />
...

<dataset seriesname='CDI YTD' renderas='Area' color='d9d9d9' alpha='70' showPlotBorder='0'>
<set value=',00887327' />
<set value=',01635646' />
<set value=',02459936' />
<set value=',03180139' />
...

</chart>

Tks!

 

post-62294-0-59371000-1406751520_thumb.png

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