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

Format Strings on OY Axis

1 Answer 116 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lukasz
Top achievements
Rank 1
Lukasz asked on 19 Apr 2011, 03:19 PM
Hello Everyone

I use RadChart control in my silverlight application.

On chart are very large numbers (e.g. 2 500 000).
On OY Axis appears 100k... 200k... 500k..... and 1 mil value.

How change 'k' and 'mil' for my own (e.g.. 'k'=>'tys' and 'mil' => 'mln')?

MyXAML
                                                <telerik:ChartArea x:Name="chartArea" LegendName="legendChart" >
                                        <telerik:ChartArea.AxisX>
                                            <telerik:AxisX LabelRotationAngle="45">
                                            </telerik:AxisX>
                                        </telerik:ChartArea.AxisX>
                                        <telerik:ChartArea.AxisY>
                                            <telerik:AxisY ??>
                                             
                                        </telerik:ChartArea.AxisY>
                                    </telerik:ChartArea>

                                   
Lukasz

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 21 Apr 2011, 08:57 AM
Hello Lukasz,

You can use custom format expressions to achieve this effect. Please use the"," specifier to shorten significant zeroes.

Kind regards,
Vladimir Milev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Lukasz
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or