Chart with Symbols on axis lables

Thread is closed for posting
3 posts, 0 answers
  1. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 21 Apr 2012 Link to this post

    Hi Guys

    I am back to upgrade chart work 

    I have one chart and clients requirement is like below


    $60 |
    $50 |
    $40 |
    $30 |
    $20 |
    $10 |
    ______________
    $10 $20 $30 $40

    Can i do like above ?

    Karthik.K




  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 25 Apr 2012 Link to this post

    Hello Karthik,

    To be able to set custom format for Axis Labels of RadChart you should use ValueFormat property as it  automatically formats axis label values as Currency, Scientific, General, Number, Percent, ShortDate, ShortTime, LongDate, LongTime or None. Then you can set Custom Format Strings (http://msdn.microsoft.com/en-us/library/0c899ak8.aspx) to the property CustomFormat.
    Here is how to format the YAxis labels:

    RadChart1.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.Number; RadChart1.PlotArea.YAxis.Appearance.CustomFormat = "#Y{C2}";

    All the best,
    Evgenia
    the Telerik team

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 26 Apr 2012 Link to this post

    Hi Thanks

    Karthik.K
Back to Top