Skip to main content
A newer version of this page is available.

DXLegend Class

The chart legend options storage.

Declaration

@interface DXLegend: DXChartElement

Inheritance

NSObject

Properties

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.

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.

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.

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.

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.