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

Using Converter on Axis Label

1 Answer 95 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean
Top achievements
Rank 1
Sean asked on 13 Nov 2012, 06:13 PM
Im using Q2 2011 -  My axis values come back as 1,2,3 which I want to make "One", "Two", "Three" How do I put a converter on an axis label?

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 16 Nov 2012, 06:40 PM
Hi Sean,

I have attached a sample project demonstrating this. Basically you need to put a TextBblock which uses your custom converter in the control template of the AxisLabel2D(the individual labels) ItemsPresenter of the HorizontalAxisLabels2D (the axis labels container).

If you any further questions feel free to ask.

Kind regards,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

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