Class SunburstChartColorModel
Represents the Sunburst chart color model. To render this, create an instance SunburstChartColorModel and set required properties.
Inheritance
Namespace: Syncfusion.SfSunburstChart.XForms
Assembly: Syncfusion.SfSunburstChart.XForms.dll
Syntax
public class SunburstChartColorModel : BindableObject
Constructors
SunburstChartColorModel()
Initializes a new instance of the SunburstChartColorModel class.
Declaration
public SunburstChartColorModel()
Fields
CustomBrushesProperty
Gets or sets the CustomBrushes property. This property uses a list of brushes to be used as custom palette. This is a bindable property.
Declaration
public static readonly BindableProperty CustomBrushesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PaletteProperty
Gets or sets the predefined color palette property for the sunburst chart. This is a bindable property.
Declaration
public static readonly BindableProperty PaletteProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
CustomBrushes
Gets or sets the CustomBrushes property. This property uses a list of brushes to be used as custom palette. This is a bindable property.
Declaration
public IList<Color> CustomBrushes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Xamarin.Forms.Color> | This property takes the List of Xamarin.Forms.Color as its value. |
Remarks
This property effects only when we set the Palette
as ChartColorPalette.Custom
.
Palette
Gets or sets the predefined color palette property for the sunburst chart. This is a bindable property.
Declaration
public SunburstColorPalette Palette { get; set; }
Property Value
Type | Description |
---|---|
SunburstColorPalette | This property takes the SunburstChartColorModel as its value. |