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

LabelAppearance ForeColor

2 Answers 32 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chuck Thompson
Top achievements
Rank 1
Chuck Thompson asked on 05 Nov 2009, 03:40 PM
I have a bar graph and I need to change the color of the label in the series.
||||||||||||||||||||||||||||||||||||||||||||||||||||28
||||||||||||||||||||||||||14
Say it looks like this, I want to change the forecolor of the "28" and "14" to be white as the background is a dark blue.
Is this posible andif so how?

2 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 09 Nov 2009, 05:23 PM
Hello Chuck,

You should be able to adjust the series item labels through its TextAppearance property. You can access this property through the property window in Visual Studio here:
Data -> Series -> [series name]-> Appearance -> Appearance ->TextAppearance

I recommend checking out this help topic if you have any other questions about how to style something in the RadChart:

- Robert
0
Dwight
Telerik team
answered on 10 Nov 2009, 08:29 AM
Hi Chuck,

Just as an addition to Robert's post, I would like to add that the same thing is easily done through code-behind, accessing the same chain of properties. If you need to set color based on value, this can be done by handling the BeforeLayout event.

Best,
Evtim
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Chuck Thompson
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Dwight
Telerik team
Share this question
or