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

Bars color

1 Answer 64 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Grtjn
Top achievements
Rank 1
Grtjn asked on 15 Mar 2010, 12:24 PM
Hi,

I'm styling my barchart in the code behind. Now I wanted my bars to be light green (#FF54E406).
How can I do so in the code-behind (C#) ?

Now I have yellow bars and have done it like this :

RadChart.DefaultSeriesDefinition.Appearance.Fill =

new SolidColorBrush(Colors.Yellow);

Any help is welcome :)

Kind regards,

Gertjan

 

1 Answer, 1 is accepted

Sort by
0
Grtjn
Top achievements
Rank 1
answered on 16 Mar 2010, 10:10 AM
I found a solution myself, so no more help needed on this thread!

RadChart.DefaultSeriesDefinition.Appearance.Fill =

new SolidColorBrush(Color.FromArgb(255, 72, 235, 21));

Kind Regards,

Gertjan

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