Category / Section
How to allot space between the segments?
1 min read
Description:
SfChart allows to customize the space between individual segments. This article describes about how to allot space between the segments.
Solution:
The space between the segments of the chart can be allotted by using the Spacing property of the ChartSeriesBase instance.
Note: The default value of the spacing is 0.2
XAML
<syncfusion:ColumnSeries Label="ColumnSeries" ItemsSource="{Binding Computers}" XBindingPath="Computer" YBindingPath="Year2013" syncfusion:ChartSeriesBase.Spacing="0.5"/>
Output:
The following screenshot illustrates the space alloted between the segments.
Figure 1: ColumnSeries with spaced segments.