How can I change the Y-Axis label values to Scientific (power) notation

Thread is closed for posting
2 posts, 0 answers
  1. ervin
    ervin avatar
    22 posts
    Member since:
    May 2011

    Posted 09 Feb 2012 Link to this post

    Hi all,
    I have a RadChart and most of the Y-Axis label values are very high like 10.000.000 etc. I want to use Scientific (power) notation like;
    10.000.000 => 10 x 10power6 (10 times 10 to the power of 6)
    50.000.000 => 50 x 10power6 (50 times ten to the power of 6) etc.

    How can I do that?

  2. Peshito
    Peshito avatar
    524 posts

    Posted 13 Feb 2012 Link to this post


    Thank you for contacting Telerik Support

    In order to apply Scientific value format it can be done like this:
    radChart.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.Scientific;

    To be able to further customize the value format you could use the axis' Appearance.CustomFormat property.

    For more information about label formatting please, take a look at our help topic here.

    Hope this helps. Please, do let me know if you have further questions.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top