We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfChart ColumnSeries: How to set the colors of the Bars

I'm using a SfChart with two Columnseries and i want to specify the Color of each Bar.

I've tried usind ColumnSeries.ColorModel, which had no effect and also tried the Background Property of the ColumnSeries which had no effect.

<Charts:ColumnSeries Label="Positive Transactions" 
                                              YBindingPath="Value" >
                                <SolidColorBrush Color="{StaticResource BlackColor}" />

1 Reply

MK Muneesh Kumar G Syncfusion Team August 30, 2013 05:46 AM UTC

Hi Mark,

Thanks for using Syncfusion Products.

We can achieve your requirement by Setting Palette=Custom in ColumnSeries as follows:

Code snippet [XAML]:

 <chart:ColumnSeries  Palette="Custom" ItemsSource="{Binding CategoricalDatas}"  XBindingPath="Category" YBindingPath="Value" Label="First" >

We have prepared a sample based on this and you can find the sample under the following location:

Please let us know if you have any queries,


Muneesh Kumar G.



Live Chat Icon For mobile
Up arrow icon