Hi,
I would like to change the background color of stacked bar chart
Here is the code which I am using. But it does not work for me.
Coud you please correct my code?
Thanks,
Anwar
I would like to change the background color of stacked bar chart
Here is the code which I am using. But it does not work for me.
sbd =
new StackedBarSeriesDefinition();
sbd.ShowItemLabels =
true;
sbd.ShowItemToolTips =
true;
Style s = new Style(typeof(Telerik.Windows.Controls.Charting.StackedBar));
s.Setters.Add(
new Setter(BackgroundProperty, new SolidColorBrush(Colors.Black)));
sbd.SeriesStyle = s;
dsTelerik.Definition = sbd;
Coud you please correct my code?
Thanks,
Anwar