in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

AxisY - percent value

Last post 10/23/2008 2:34 PM by Aleš Pechočiak. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 10/21/2008 3:14 PM

    AxisY - percent value

     Hello,

    I have problem with AxisY values. Bar value is for example 46,6% and AxisY show 4660,0%.

    (barchart)

     

     

  • 10/23/2008 10:30 AM In reply to

    Re: AxisY - percent value

     I believe that the percent value is based off of a decimal. So the number you should have in your data should be .466 but it appears you have 46.6. So you need to divide the value you are using by 100. So, 46.6/100=0.466 and the chart will intepret it correctly. You could alternativly not set the axis to percent and use the axis.label.endtext = "%" and achieve a similar result. (syntax on this command may be wrong)

  • 10/23/2008 2:34 PM In reply to

    Re: AxisY - percent value

     Thank you, it works good.

    I did:

     for AxisY/ NumericOptions/ Format  -  I selected  'Percent'

    series1.PointOptions.ValueNumericOptions.Format = NumericFormat.Percent

    and changed number from 46.6 --> 0,466

     

     

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED