2X faster development
The ultimate UWP UI toolkit to boost your development speed.
How to set ItemWidthPercent in datachart? ItemWidthPercent can be set by using the Spacing attached property of series. We have to assign the values for spacing in double; the value can be given between 0 and 1. In the following example spacing is assigned to 0.5, i.e., 50% is set to width of the column series. Example: XAML <Syncfusion:ColumnSeries ItemsSource="{Binding CompanyDetails}" XBindingPath="CompanyName" YBindingPath="CompanyTurnOver" Syncfusion:ChartSeriesBase.Spacing="0.5"> </Syncfusion:ColumnSeries> C# private void MyChart() { SfChart chart = new SfChart(); ColumnSeries columnSeries = new ColumnSeries(); ChartSeriesBase.SetSpacing(columnSeries, 0.5); } Output |
2X faster development
The ultimate UWP UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.