This is a migrated thread and some comments may be shown as answers.

Show just a specific value on Y-axis

1 Answer 26 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Guilherme
Top achievements
Rank 1
Guilherme asked on 05 Apr 2013, 06:42 PM
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!

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 10 Apr 2013, 06:22 PM
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.

Tags
Chart
Asked by
Guilherme
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or