Format Strings on OY Axis

2 posts, 0 answers
  1. Lukasz
    Lukasz avatar
    5 posts
    Member since:
    Nov 2010

    Posted 19 Apr 2011 Link to this post

    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
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 21 Apr 2011 Link to this post

    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
Back to Top