This article will describe how to set the size of the "blank" space between bars displayed with FlexChart for WPF.
To do so, you can manipulate the Options.ClusterSize property of FlexChart. For example, to remove all spacing between the bar columns, you can use the following line of code:
flexchart.Options.ClusterSize = new C1.Chart.ElementSize() { SizeType = C1.Chart.ElementSizeType.Percentage, Value = 100 };
:The integer value for the "Value" variable in the line of code above indicates how much spacing you would like on a scale of 0 to 100%. When Value = 100, as in the line above, there will be no space between the bars. When Value = 0, no bars will be shown. When Value = 50, the bars of data will be the exact same size as the white space between the bars of data.
Tags:
Hunter Haaf