We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to define the fill color for each datapoint from ItemsSource?

Description:

This article describes how the segments interior is applied from the colors that specified in the underlined model of the ItemsSource.

 

Solution:

Chart provides Custom palette support to give you a set of brushes for each data point.

Your model has three properties for defining the X, Y, and color values. Th CustomBrushes property can be defined as shown in the following code example.

C#

Output:

 

Figure 1: ColumnSeries with specific interior color.

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5125 06/03/2015 03/09/2018 Windows Phone SfChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon