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

How to Set the Series Item Label Text Color Programmatically

3 Answers 160 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
briankb
Top achievements
Rank 2
briankb asked on 22 Aug 2010, 03:52 AM
I need to change the Series Item Label text font, size, and color. How can I do this programmatically?

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 25 Aug 2010, 12:55 PM
Hi briankb,

Here is an example:

RadChart1.Series[0].Appearance.TextAppearance.TextProperties.Font = new System.Drawing.Font("Arial", 12);
RadChart1.Series[0].Appearance.TextAppearance.TextProperties.Color = Color.Red;

Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
D
Top achievements
Rank 1
answered on 18 Apr 2011, 09:51 PM
this (specifically, the " = Color.Red;" doesn't seem to work any more)...

RadChart1.Series[0].Appearance.TextAppearance.TextProperties.Color = Color.Red;
0
Ves
Telerik team
answered on 21 Apr 2011, 09:52 AM
Hi,

I just checked it and it works as expected for me. Is there anything specific in your project?

Best regards,
Ves
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Chart (Obsolete)
Asked by
briankb
Top achievements
Rank 2
Answers by
Ves
Telerik team
D
Top achievements
Rank 1
Share this question
or