Show just a specific value on Y-axis

2 posts, 0 answers
  1. Guilherme
    Guilherme avatar
    3 posts
    Member since:
    Jun 2012

    Posted 05 Apr 2013 Link to this post

    I need to build a chart that shows only a specific value and tick on Y-axis. 

    E.g. I want to show only the Y corresponding to the plt point in the image at the link below. I don't want to show ther others Y values at Y-axis.
    Chart example

    Does anybody know if it's possible??
    Does anybody know how to do that?

    Thx in advance!
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 10 Apr 2013 Link to this post

    Hi Guilherme,

    The RadChart does not support custom positioning of the axis labels out-of-the box.To achieve your requirements you can use the Axis properties to hide the major ticks, minor ticks and the axis labels and you can modify the CustomGridLine ControlTemplate and add a TextBlock showing its current value.
    I have attached a sample project demonstrating that.

    I hope this helps.

    All the best,
    Petar Kirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top