Articles in this section
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.

C:\Users\giftline.jebamani\Desktop\img.jpgNote: 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.

F:\Issue Files Chart\Issue File -10 Knowledge Base\WP_ScreenShot\New Second TIme\wp_ss_20150210_0009.png

Figure 1: ColumnSeries with spaced segments.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied