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

Modify Width of Boxes and Bars

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.

1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team 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.  


Live Chat Icon For mobile
Up arrow icon