Conditional Style on AxisX Labels

3 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    5 posts
    Member since:
    Nov 2012

    Posted 28 Nov 2012 Link to this post

    I would like to add conditional styles to the AxisX labels, but I'm stuck as to how this could be achieved.
    I have a StackedBarChart in which the XAxis ha the categories, and I would like each category label to be a different color.
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 30 Nov 2012 Link to this post

    Hello Jonathan,

     You may find attached a sample project that demonstrates how you may achieve this via Converter set in the ItemLabelStyle of the XAxis.

    Greetings,
    Evgenia
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Jonathan
    Jonathan avatar
    5 posts
    Member since:
    Nov 2012

    Posted 30 Nov 2012 Link to this post

    Thanks a lot. Very helpful.
Back to Top