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

Stacked bar colors

1 Answer 136 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Nenad Djukic
Top achievements
Rank 1
Nenad Djukic asked on 18 May 2010, 02:12 PM
Hello ladies and gentleman.

I have stacked bar chart, and i'm not able to change their default background colors.
See attached image, please.
I used code from: http://demos.telerik.com/wpf/ -> Chart -> 2D charts -> Stacked bar series.

Could you please help me with this?
Thank you in advance,
    Nenad Djukic

1 Answer, 1 is accepted

Sort by
0
Nenad Djukic
Top achievements
Rank 1
answered on 18 May 2010, 02:23 PM
Solved.

Used this:

sm1.SeriesDefinition.Appearance.Fill =

 

Brushes.White;
sm2.SeriesDefinition.Appearance.Fill = Brushes.Pink;

etc...

 

Tags
Chart
Asked by
Nenad Djukic
Top achievements
Rank 1
Answers by
Nenad Djukic
Top achievements
Rank 1
Share this question
or