Bars color

2 posts, 0 answers
  1. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 15 Mar 2010 Link to this post

    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

     

  2. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 16 Mar 2010 Link to this post

    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

Back to Top