Using Converter on Axis Label

2 posts, 0 answers
  1. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 13 Nov 2012 Link to this post

    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?
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 16 Nov 2012 Link to this post

    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.

Back to Top