Class SunburstChartLegend
Represents legend for SunburstChart.
Inheritance
System.Object
SunburstChartLegend
Namespace: Syncfusion.SfSunburstChart.iOS
Assembly: Syncfusion.SfSunburstChart.iOS.dll
Syntax
public class SunburstChartLegend : Object
Constructors
SunburstChartLegend(SfSunburstChart)
Initializes a new instance of the SunburstChartLegend class.
Declaration
public SunburstChartLegend(SfSunburstChart chart)
Parameters
Type | Name | Description |
---|---|---|
SfSunburstChart | chart | To get the chart |
Properties
Background
Gets or sets the background color for legend view.
Declaration
public UIColor Background { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
IconHeight
Gets or sets the height of the legend icon.
Declaration
public double IconHeight { get; set; }
Property Value
Type |
---|
System.Double |
IconType
Gets or sets the legend icon type.
Declaration
public SunburstLegendIcon IconType { get; set; }
Property Value
Type |
---|
SunburstLegendIcon |
IconWidth
Gets or sets the width of the legend icon.
Declaration
public double IconWidth { get; set; }
Property Value
Type |
---|
System.Double |
IsVisible
Gets or sets a value indicating whether legend is visible or not.
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemMargin
Gets or sets the margin for legend label.
Declaration
public UIEdgeInsets ItemMargin { get; set; }
Property Value
Type |
---|
UIKit.UIEdgeInsets |
LabelStyle
Gets custom style for the legend items.
Declaration
public SunburstChartLegendLabelStyle LabelStyle { get; }
Property Value
Type |
---|
SunburstChartLegendLabelStyle |
LegendPosition
Gets or sets LegendPosition which indicates the legend placement in chart layout.
Declaration
public SunburstDockPosition LegendPosition { get; set; }
Property Value
Type |
---|
SunburstDockPosition |