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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Modify Width of Boxes and Bars

Thread ID:





125548 Aug 24,2016 10:14 AM UTC Aug 25,2016 05:26 AM UTC WinForms 1
Tags: Chart
Swetaketu Majumder
Asked On August 24, 2016 10:14 AM UTC

I could find from your documentations that I can use the ColumnFixedWidth and ColumnWidthMode to customize the column widths of column series. Is there a way to modify the Box widths in BoxAndWhisker series and Bar widths (heights I guess) in Bar series.

Dharanidharan Dharmasivam [Syncfusion]
Replied On August 25, 2016 05:26 AM UTC

Hi Swetaketu, 

Thanks for using Syncfusion product. 

We have analyzed your query. The box width of BoxAndWhisker series and bar width in Bar series can also be customized using ColumnFixedWidth and ColumnWidthMode properties. We have created a sample for BoxAndWhisker series in which we have customized the box width using ColumnFixedWidth and ColumnWidthMode properties, also width of bar in bar series can be customized using this property. Kindly find the code snippet, 
Code Snippet: 
Windows Forms: 

    this.chart.ColumnFixedWidth = 10; 
    this.chart.ColumnWidthMode = ChartColumnWidthMode.FixedWidthMode; 

Screenshot for BoxAndWhisker series: 

Screenshot for Bar series: 

For your reference we have attached the sample. Kindly find the sample from the below link, 

More details on series customization can be found from below link, 

Let us know if you have any concern.  



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon