Class ChartLegendItem
Represents the chart legend item.
Inheritance
System.Object
ChartLegendItem
Namespace: Syncfusion.SfChart.iOS
Assembly: Syncfusion.SFChart.iOS.dll
Syntax
public class ChartLegendItem : Object
Constructors
ChartLegendItem()
Declaration
public ChartLegendItem()
ChartLegendItem(SFSeries, String)
Declaration
public ChartLegendItem(SFSeries series, string label)
Parameters
| Type | Name | Description |
|---|---|---|
| SFSeries | series | |
| System.String | label |
Properties
DataPoint
Returns the corresponding data point for accumulation series
Declaration
public object DataPoint { get; }
Property Value
| Type |
|---|
| System.Object |
IconColor
Gets or sets the corresponding icon color for legend item.
Declaration
public UIColor IconColor { get; set; }
Property Value
| Type |
|---|
| UIKit.UIColor |
Index
Returns the corresponding legend index
Declaration
public int Index { get; }
Property Value
| Type |
|---|
| System.Int32 |
Label
Gets or sets the corresponding label for legend item.
Declaration
public string Label { get; set; }
Property Value
| Type |
|---|
| System.String |
LabelStyle
Gets or sets the corresponding label for legend item.
Declaration
public SFLegendLabelStyle LabelStyle { get; set; }
Property Value
| Type |
|---|
| SFLegendLabelStyle |
Series
Returns the corresponding series for legend item
Declaration
public SFSeries Series { get; }
Property Value
| Type |
|---|
| SFSeries |
View
Gets or set the view of chart legend.
Declaration
public UIView View { get; set; }
Property Value
| Type |
|---|
| UIKit.UIView |