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

Conditional Style on AxisX Labels

2 Answers 60 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 28 Nov 2012, 05:47 PM
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 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 30 Nov 2012, 12:43 PM
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.

0
Jonathan
Top achievements
Rank 1
answered on 30 Nov 2012, 12:55 PM
Thanks a lot. Very helpful.
Tags
Chart
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or