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
close icon

BarSeries Width Bar


I wonder if it is possible to change the width of the bars, because can not decrease the Width of the bars.


5 Replies

KC Karthikeyan Chandrasekar Syncfusion Team January 2, 2014 04:22 AM UTC

Hi Vitor,

Thank you for your interest in Syncfusion Products.


We can change the width of the bars by using the below code snippet.



Please let us know if you have any concern.



VM Vitor Matos January 2, 2014 09:43 AM UTC

Hi Karthikeyan C,

Isn't BarCode what i'm looking for it's BarSeries of Charts.

I attached a sample of what i want.



MK Muneesh Kumar G Syncfusion Team January 3, 2014 07:34 AM UTC

Hi Vitor,

We can achieve your requirement by setting Spacing property as per the below code snippet.

Code Snippet[XAML]:

<chart:BarSeries XBindingPath="Distance" chart:ChartSeriesBase.Spacing="0.5" YBindingPath="Elevation" ItemsSource="{Binding Products}">


Please let us know if you have any concern.


Muneesh Kumar G.

MQ Mário Queirós January 3, 2014 10:28 AM UTC


I think that is not the best solution. You can check the two print screens that I attached. One, without spacing, the bars are too large, with spacing, the width of the bars its correct, but the spacing is too much.

Thanks for all the help by the way.


KV Karthikeyan V Syncfusion Team January 8, 2014 06:17 PM UTC

Hi Mario,


We have analyzed the reported requirement for bar width. Currently we are unable to achieve in sample for bar Series. We have CustomTemplate property and its support for column, line, stackingColumn series. We are logged the Feature request for this. Please open incident to get the more details about this feature details.



You can able to reduce spacing by help of axis Padding or RangePadding property. Please refer below UG link:



Please let us know, if you have any query.



Karthikeyan V.

Live Chat Icon For mobile
Up arrow icon