Hai,
I am using 2D pie chart. In that i want to change ChartLegend Foreground color as Black. When i use the below code it doesn't works.
RadChart.DefaultView.ChartLegend.Foreground =
newSolidColorBrush(Colors.Black);
How can i do this?
Thanks.
1 Answer, 1 is accepted
0
Accepted
Velin
Telerik team
answered on 01 Oct 2009, 07:48 AM
Hello Nirmal,
Setting the Foreground property of ChartLegend is applied only to the legend header and not to the items. In order to change the foreground of the legend items, you should extend the default legend item style. Here is how you can do this: