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

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

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