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

Y-Axis

1 Answer 42 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Billy G
Top achievements
Rank 1
Billy G asked on 25 Nov 2010, 03:36 AM
Is there a way to have the Y axis on a line chart represent a letter in series like A-Z?

I could make a=1, b=2 ... in code but then would need to change the y axis display to the letter not the number.. any help would be  great

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 26 Nov 2010, 08:09 AM
Hi Billy,

One possible option in this case would be to toggle off the autorange of the control, and set the step manually for the YAxis. However, this would only work for numeric values.
Another option would be to manually set the labeld, as shown in the code snippet below:

Chart1.DefaultView.ChartArea.AxisY.TickPoints[0].Label = "CustomValue";

I hope this gets you started properly.

Greetings,
Yavor
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Chart
Asked by
Billy G
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or