Category / Section
How can I color a series?
1 min read
Description
This article describes how to apply the color for segments in a chart series.
Solution
Color for a series can be applied by using the Interior property of the series.
XAML
<syncfusion:ColumnSeries ItemsSource="{Binding Computers}" XBindingPath="Computer" YBindingPath="Year2013" Interior="LightGreen"/>
C#
colorChart.Series[0].Interior = new SolidColorBrush(Colors.LightGreen);
Output
This screenshot illustrates the output for the series with the explicit color.