Class SfSunburstChart
Represents the Sunburstchart. To render this, create an instance SfSunburstChart and set required properties.
Inheritance
Namespace: Syncfusion.SfSunburstChart.XForms
Assembly: Syncfusion.SfSunburstChart.XForms.dll
Syntax
public class SfSunburstChart : View, IParentThemeElement, IThemeElement
Constructors
SfSunburstChart()
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart()
Fields
AnimationDurationProperty
Gets or sets the Animation duration property. This property is used to set the duration for the animation to be done. This is a bindable property.
Declaration
public static readonly BindableProperty AnimationDurationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ColorModelProperty
Gets or sets a ColorModel property.This property is used as the color schemes for the sunburstchart. This is a bindable property.
Declaration
public static readonly BindableProperty ColorModelProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DataLabelProperty
Gets or sets a DataLabel property. This property is used to set the legend that helps to identify the series in the chart. This is a bindable property.
Declaration
public static readonly BindableProperty DataLabelProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DrilldownSettingsProperty
Gets or sets a drilldown settings property. This property is used to customize the settings for the drilldown . This is a bindable property.
Declaration
public static readonly BindableProperty DrilldownSettingsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
EnableAnimationProperty
Gets or sets the value indicating that whether the animation should be enabled or not for chart. This is a bindable property.
Declaration
public static readonly BindableProperty EnableAnimationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
EndAngleProperty
Gets or sets the end angle property. This property is used to specify the end angle for the sunburst chart. This is a bindable property.
Declaration
public static readonly BindableProperty EndAngleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
InnerRadiusProperty
Gets or sets the inner radius value for defining sunburst size. Value must be specified from 0 to 1. This is a bindable property.
Declaration
public static readonly BindableProperty InnerRadiusProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ItemsSourceProperty
Gets or sets the ItemsSource property. This property is used to collect datasource for sunburstchart. This is a bindable property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LegendProperty
Gets or sets a Legend property. This property is used to display legend that helps to identify the series in the chart. This is a bindable property.
Declaration
public static readonly BindableProperty LegendProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LevelsProperty
Gets or sets the Levels property. This property is a collection of level to be added to the sunburstchart. This is a bindable property.
Declaration
public static readonly BindableProperty LevelsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
RadiusProperty
This property value is used for defining the sunburst size. Value must be specified from 0 to 1. This is a bindable property.
Declaration
public static readonly BindableProperty RadiusProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SelectionSettingsProperty
Gets or sets a SelectionSettings property.This property is used to customize the settings for selections. This is a bindable property.
Declaration
public static readonly BindableProperty SelectionSettingsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StartAngleProperty
Gets or sets the start angle property. This property is used to specify the start angle for the sunburst chart. This is a bindable property.
Declaration
public static readonly BindableProperty StartAngleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeColorProperty
Gets or sets stroke color property. This property is used to set the stroke color for. sunburst chart.This is a bindable property.
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeWidthProperty
Gets or sets stroke width property. This property is used to customize the width for sunburst chart. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleProperty
Gets or sets a Title property . This property is used a header for the sunburst chart. This is a bindable property.
Declaration
public static readonly BindableProperty TitleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TooltipSettingsProperty
Gets or sets tooltip settings property. This property is used to customize the settings for tooltip. This is a bindable property.
Declaration
public static readonly BindableProperty TooltipSettingsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ValueMemberPathProperty
Gets or sets ValueMemberPath property. This is used to set the property path of the value member from ItemsSource. This is a bindable property.
Declaration
public static readonly BindableProperty ValueMemberPathProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
AnimationDuration
Gets or sets the Animation duration property. This property is used to set the duration for the animation to be done. This is a bindable property.
Declaration
public double AnimationDuration { get; set; }
Property Value
Type |
---|
System.Double |
ColorModel
Gets or sets a ColorModel property.This property is used as the color schemes for the sunburstchart. This is a bindable property.
Declaration
public SunburstChartColorModel ColorModel { get; set; }
Property Value
Type |
---|
SunburstChartColorModel |
DataLabel
Gets or sets a DataLabel property. This property is used to set the legend that helps to identify the series in the chart. This is a bindable property.
Declaration
public SunburstChartDataLabel DataLabel { get; set; }
Property Value
Type | Description |
---|---|
SunburstChartDataLabel | This property take |
DrilldownSettings
Gets or sets a drilldown settings property. This property is used to customize the settings for the drilldown . This is a bindable property.
Declaration
public DrilldownSettings DrilldownSettings { get; set; }
Property Value
Type |
---|
DrilldownSettings |
EnableAnimation
Gets or sets a value indicating whether the animation should be enabled or not for chart. This is a bindable property.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type |
---|
System.Boolean |
EndAngle
Gets or sets the start angle property. This property is used to specify the start angle for the sunburst chart.
Declaration
public double EndAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
InnerRadius
Gets or sets the inner radius value for defining sunburst size. Value must be specified from 0 to 1. This is a bindable property.
Declaration
public double InnerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
ItemsSource
Gets or sets the ItemsSource property. This property is used to collect datasource for sunburstchart. This is a bindable property.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | This property takes the collection as its value. |
Legend
Gets or sets a Legend property. This property is used to display legend that helps to identify the series in the chart. This is a bindable property.
Declaration
public SunburstChartLegend Legend { get; set; }
Property Value
Type | Description |
---|---|
SunburstChartLegend | This property take |
Levels
Gets or sets the Levels property. This property is a collection of level to be added to the sunburstchart. This is a bindable property.
Declaration
public SunburstLevelCollection Levels { get; set; }
Property Value
Type | Description |
---|---|
SunburstLevelCollection | ChartBehaviorCollection. |
Radius
Gets or sets the radius property. This property value is used for defining the sunburst size. Value must be specified from 0 to 1.
Declaration
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
SelectionSettings
Gets or sets a SelectionSettings property.This property is used to customize the settings for selections. This is a bindable property.
Declaration
public SelectionSettings SelectionSettings { get; set; }
Property Value
Type | Description |
---|---|
SelectionSettings | This property take |
StartAngle
Gets or sets the start angle property. This property is used to specify the start angle for the sunburst chart.
Declaration
public double StartAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
StrokeColor
Gets or sets stroke color property. This property is used to set the stroke color for. sunburst chart.This is a bindable property.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the color value. |
StrokeWidth
Gets or sets stroke width property. This property is used to customize the width for sunburst chart. This is a bindable property.
Declaration
public float StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single | This property takes the double value. |
Title
Gets or sets a Title property . This property is used a header for the sunburst chart. This is a bindable property.
Declaration
public SunburstChartTitle Title { get; set; }
Property Value
Type | Description |
---|---|
SunburstChartTitle | This property take |
TooltipSettings
Gets or sets tooltip settings property. This property is used to customize the settings for tooltip. This is a bindable property.
Declaration
public SunburstTooltipSettings TooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
SunburstTooltipSettings | The tooltip settings. |
ValueMemberPath
Gets or sets ValueMemberPath property. This is used to set the property path of the value member from ItemsSource.
Declaration
public string ValueMemberPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String as its value. |
Methods
OnBindingContextChanged()
This method is used to override the binding context and to set the binding context when properties changed.
Declaration
protected override void OnBindingContextChanged()
OnSizeRequest(Double, Double)
This method is override from framework and it is used to set size request for the sunburst chart.
Declaration
protected override SizeRequest OnSizeRequest(double widthConstraint, double heightConstraint)
Parameters
Type | Name | Description |
---|---|---|
System.Double | widthConstraint | To set width. |
System.Double | heightConstraint | To set height. |
Returns
Type | Description |
---|---|
Xamarin.Forms.SizeRequest | Returns size. |
Events
SelectionChanged
Represents the selection changed. This event is triggered whenever the selection changes in sunburst chart.
Declaration
public event EventHandler<SelectionChangedEventArgs> SelectionChanged
Event Type
Type |
---|
System.EventHandler<SelectionChangedEventArgs> |