Skip to main content Skip to footer

How to adjust the width of the bars so there is no space between bars?

With the ComponentOne FlexChart for WPF, users can customize the width of the bars in their bar charts.

You can remove the spacing between the bar columns by setting the Options.ClusterSize property of FlexChart as shown in the following code:

flexchart.Options.ClusterSize = new C1.Chart.ElementSize() { 
       SizeType = C1.Chart.ElementSizeType.Percentage, 
       Value = 100 
};