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.
Unfortunately, activation email could not send to your email. Please try again.

BarSeries Width Bar

Thread ID:

Created:

Updated:

Platform:

Replies:

115131 Dec 27,2013 10:30 AM Jan 8,2014 01:17 PM WinRT 5
loading
Tags: General
Vitor Matos
Asked On December 27, 2013 10:30 AM

Hi,

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

Regards

KarthikeyanC [Syncfusion]
Replied On January 1, 2014 11:22 PM

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


Vitor Matos
Replied On January 2, 2014 04:43 AM

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

Muneesh Kumar G [Syncfusion]
Replied On January 3, 2014 02:34 AM

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.


Mário Queirós
Replied On January 3, 2014 05:28 AM

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

Karthikeyan V [Syncfusion]
Replied On January 8, 2014 01:17 PM

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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;