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

BarSeries Width Bar

Hi,

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

Regards

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.

barcode.NarrowBarWidth=2;

 

Please let us know if you have any concern.

Thanks,

Karthikeyan.C



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.

Thanks






sample_4700e122.zip


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}">

</chart:BarSeries>

Please let us know if you have any concern.

Regards,

Muneesh Kumar G.



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

Hello,

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.


spacing_be6f5612.zip


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.

 

Note:

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

http://help.syncfusion.com/ug/wpf/sfchart/default.htm#!documents/axis.htm

 

Please let us know, if you have any query.

 

Regards,

Karthikeyan V.


Loader.
Live Chat Icon For mobile
Up arrow icon