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

Change datalabel color

2 Answers 38 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
saurabh
Top achievements
Rank 1
saurabh asked on 22 Sep 2011, 04:13 PM
In stacked chart i have added totaldata label. I want to keep color of this data label differernt  from other datalabels. how can I do that.

2 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 27 Sep 2011, 11:41 AM
Hi Saurabh,

This can be achieved using the Appearance.LabelAppearance property of the top-most series like this for example:

series2.Appearance.LabelAppearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
series2.Appearance.LabelAppearance.FillStyle.MainColor = Color.Red;

All the best,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
saurabh
Top achievements
Rank 1
answered on 06 Oct 2011, 07:41 AM
This code is not working in WPF application.... give me some other solution
Tags
Chart (Obsolete)
Asked by
saurabh
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
saurabh
Top achievements
Rank 1
Share this question
or