Modify Style for Y Axis

2 posts, 0 answers
  1. Charles-Henri
    Charles-Henri avatar
    6 posts
    Member since:
    Mar 2011

    Posted 03 May 2011 Link to this post


    Actually I've "mil" for Millions on Chart axis, how could i change it and set just "M" ?

    Find ScreeShot in attachment for more details.

  2. Sia
    Sia avatar
    765 posts

    Posted 06 May 2011 Link to this post

    Hello Charles-Henri,

    You can change the default label format and the item label format as follows:
    <telerik:RadChart x:Name="RadChart1">
            <telerik:SeriesMapping >
                    <telerik:BarSeriesDefinition ItemLabelFormat="#Y{0,,.0#} M" />
                <telerik:ItemMapping FieldName="PurchasePrice" DataPointMember="YValue" />
                    <telerik:ChartArea LegendName="Legend1">
                            <telerik:AxisY DefaultLabelFormat="#VAL{0,,.0#} M" />
                    <telerik:ChartLegend x:Name="Legend1"  />
    I hope this helps.

    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