DXLegend Class

The chart legend options storage.

Declaration

@interface DXLegend: DXChartElement

Inheritance

NSObject
DXChartElement
DXLegend

Properties

Constructors

DXLegend.hidden Property

Gets or sets the value specifying whether the legend is hidden.

Declaration

@property (readwrite) BOOL hidden

Property Value

Type Description
BOOL

YES if the legend is hidden; otherwise NO.

DXLegend.horizontalPosition Property

Gets or sets a legend's horizontal position.

Declaration

@property (readwrite) DXLegendHorizontalPosition horizontalPosition

Property Value

Type Description
DXLegendHorizontalPosition

The DXLegendHorizontalPosition enumeration value that specifies the horizontal position.

DXLegend.orientation Property

Gets or sets a legend's layout orientation.

Declaration

@property (readwrite) DXLegendOrientation orientation

Property Value

Type Description
DXLegendOrientation

The DXLegendOrientation enumeration value that specifies the orientation of the legend.

DXLegend.style Property

Gets or sets a legend's style options.

Declaration

@property (readwrite, nullable) DXLegendStyle *style

Property Value

Type Description
DXLegendStyle *

The DXLegendStyle object that stores parameters of the legend appearance.

DXLegend.verticalPosition Property

Gets or sets a legend's vertical position.

Declaration

@property (readwrite) DXLegendVerticalPosition verticalPosition

Property Value

Type Description
DXLegendVerticalPosition

The DXLegendVerticalPosition enumeration value that specifies the vertical position.