Class SfSunburstChart
Represents the Chart control which is used to visualize the data graphically.
Inheritance
Namespace: Syncfusion.SfSunburstChart.Android
Assembly: Syncfusion.SfSunburstChart.Android.dll
Syntax
public class SfSunburstChart : FrameLayout
Constructors
SfSunburstChart(Context)
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context |
SfSunburstChart(Context, IAttributeSet)
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart(Context context, IAttributeSet attrs)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context |
Android.Util.IAttributeSet | attrs | attrs |
SfSunburstChart(Context, IAttributeSet, Int32)
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | context |
Android.Util.IAttributeSet | attrs | attrs |
System.Int32 | defStyleAttr | defStylesttrs |
SfSunburstChart(Context, IAttributeSet, Int32, Int32)
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart(Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | context |
Android.Util.IAttributeSet | attrs | attrs |
System.Int32 | defStyleAttr | defStyleAttr |
System.Int32 | defStyleRes | defStyleRes |
SfSunburstChart(IntPtr, JniHandleOwnership)
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | javaReference | JavaReference |
Android.Runtime.JniHandleOwnership | transfer | Transfer |
Properties
AnimationDuration
Gets or sets the animation duration for sunburst animation
Declaration
public double AnimationDuration { get; set; }
Property Value
Type |
---|
System.Double |
ColorModel
Gets or sets the color model for sunburst chart.
Declaration
public SunburstChartColorModel ColorModel { get; set; }
Property Value
Type |
---|
SunburstChartColorModel |
DataLabel
Gets the data label for Sunburst chart.
Declaration
public SunburstChartDataLabel DataLabel { get; }
Property Value
Type |
---|
SunburstChartDataLabel |
DrilldownSettings
Gets the drill down settings for sunburst chart.
Declaration
public DrilldownSettings DrilldownSettings { get; }
Property Value
Type |
---|
DrilldownSettings |
EnableAnimation
Gets or sets a value indicating whether the animation for sunburst chart
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type |
---|
System.Boolean |
EndAngle
Gets or sets the end angle for the sunburst chart.
Declaration
public double EndAngle { get; set; }
Property Value
Type |
---|
System.Double |
InnerRadius
Gets or sets the coefficient value for defining sunburst hole size. Value must be specified from 0 to 1.
Declaration
public double InnerRadius { get; set; }
Property Value
Type |
---|
System.Double |
ItemsSource
Gets or sets an IEnumerable source used to generate Chart.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type |
---|
System.Collections.IEnumerable |
Legend
Gets the legend for sunburst chart.
Declaration
public SunburstChartLegend Legend { get; }
Property Value
Type |
---|
SunburstChartLegend |
Levels
Gets or sets the levels for sunburst chart.
Declaration
public SunburstLevelCollection Levels { get; set; }
Property Value
Type |
---|
SunburstLevelCollection |
Radius
Gets or sets the coefficient value for defining sunburst size. Value must be specified from 0 to 1.
Declaration
public double Radius { get; set; }
Property Value
Type |
---|
System.Double |
SelectionSettings
Gets or sets the selection settings for sunburst chart.
Declaration
public SelectionSettings SelectionSettings { get; set; }
Property Value
Type |
---|
SelectionSettings |
StartAngle
Gets or sets the start angle for the sunburst chart.
Declaration
public double StartAngle { get; set; }
Property Value
Type |
---|
System.Double |
StrokeColor
Gets or sets the stroke color for the sunburst chart.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
StrokeWidth
Gets or sets the stroke width for the sunburst chart.
Declaration
public float StrokeWidth { get; set; }
Property Value
Type |
---|
System.Single |
Title
Gets the title for sunburst chart.
Declaration
public SunburstChartTitle Title { get; }
Property Value
Type |
---|
SunburstChartTitle |
TooltipSettings
Gets or sets the tooltip for sunburst chart.
Declaration
public SunburstTooltipSettings TooltipSettings { get; set; }
Property Value
Type |
---|
SunburstTooltipSettings |
ValueMemberPath
Gets or sets the property path of the value data in ItemsSource.
Declaration
public string ValueMemberPath { get; set; }
Property Value
Type |
---|
System.String |
Methods
Dispose(Boolean)
This method is used for disposing objects
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | to set dispose |
OnDraw(Canvas)
This method is used for drawing
Declaration
protected override void OnDraw(Canvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | canvas | To set canvas |
OnMeasure(Int32, Int32)
OnMeasure for sunburst chart
Declaration
protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | widthMeasureSpec | |
System.Int32 | heightMeasureSpec |
OnTouchEvent(MotionEvent)
Handles the touch screen motion events for chart.
Declaration
public override bool OnTouchEvent(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | e | MotionEvent |
Returns
Type | Description |
---|---|
System.Boolean | true |
Events
SelectionChanged
Occurs when SunburstSegment is selected.
Declaration
public event EventHandler<SunburstSelectionChangedEventArgs> SelectionChanged
Event Type
Type |
---|
System.EventHandler<SunburstSelectionChangedEventArgs> |