This is a migrated thread and some comments may be shown as answers.

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

1 Answer 80 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
ervin
Top achievements
Rank 1
ervin asked on 09 Feb 2012, 10:34 PM
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?

Thanks,
Ervin
 

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 13 Feb 2012, 04:10 PM
Hi,

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.

Regards,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart (Obsolete)
Asked by
ervin
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or