Change space between bars

It must be something very simple but I can't find how or where to change the space between the bars of the graph, if I have to do it in the series, in the container or where


Attachment: ColumnSpacing1_b88c6b4.zip

5 Replies 1 reply marked as answer

GM Gayathri Manickam Syncfusion Team January 31, 2022 03:16 PM UTC

Hi Devoto, 
 
You can achieve your requirement change the spacing between bars of the graph with the help of Spacing property of ChartControl as shown in below code snippet.  
 
this.chartControl1.Spacing = 50;  
 
For more information, please refer below ug link. 
 
Regards,  
Gayathri M 



PD Pablo Devoto February 10, 2022 07:04 PM UTC

ok, thanks for your help!!



YP Yuvaraj Palanisamy Syncfusion Team February 11, 2022 10:21 AM UTC

Hi Devoto,  
 
We are glad to know that provided solution works at your end. Please let us know if you need any further assistance on this. 
 
Regards, 
Yuvaraj. 



PD Pablo Devoto February 16, 2022 12:49 AM UTC

Despite changing the properties and they change correctly, I had to make some changes in the code to modify the WIDTH property of the chart to "accommodate" it according to the number of objects plotted


Marked as answer

YP Yuvaraj Palanisamy Syncfusion Team February 16, 2022 10:58 AM UTC

Hi Devoto, 
 
Thanks for your update.

Please let us know if you have any further assistance.
 
 
Regards, 
Yuvaraj. 


Loader.
Up arrow icon