RadChart YAxis Label

Thread is closed for posting
4 posts, 0 answers
  1. Rushma
    Rushma avatar
    7 posts
    Member since:
    May 2011

    Posted 15 Aug 2011 Link to this post

    Hi,

    I am new to Telerik radControls, and I am hoping I get an answer to my question here.

    I have constructed a bar graph that looks like the attached file.

    How do I change my Y- Axis label to show 90%, 92%, 94% and so on.

    I am using Telerik 2009.1.527.35.

    Cheers.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2011 Link to this post

    Hello Rushma,

    Check the following help documentation which explains more about this.
    How Do I add Axis Labels Programmatically?.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 18 Aug 2011 Link to this post

    Hi Rushma,

    In order to format the Y-Axis labels in the way you want, you should use the ValueFormat property of the Axis as shown in the following code:
    radChart.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.Percent;
    You can also find more about labels here:
    http://www.telerik.com/help/aspnet-ajax/radchart-default-label-value.html
    http://www.telerik.com/help/aspnet-ajax/radchart-axis-labels.html

    Greetings,
    Peshito
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Rushma
    Rushma avatar
    7 posts
    Member since:
    May 2011

    Posted 18 Aug 2011 Link to this post

    Thanks a lot Peshito and Princy.

    Cheers.
Back to Top