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

DXLegendHorizontalPosition Enum

Lists the values specifying the legend’s horizontal position within a chart.

Declaration

typedef NS_ENUM(NSInteger, DXLegendHorizontalPosition) {
    DXLegendHorizontalPositionLeftOutside = 0,
    DXLegendHorizontalPositionLeft = 1,
    DXLegendHorizontalPositionCenter = 2,
    DXLegendHorizontalPositionRight = 3,
    DXLegendHorizontalPositionRightOutside = 4,
}

Members

Name Description
DXLegendHorizontalPositionLeftOutside

The legend is positioned outside of the left side of the plot area. The left-outside value sample

DXLegendHorizontalPositionLeft

The legend is positioned on the left side of the plot area. The left value sample

DXLegendHorizontalPositionCenter

Centers the legend horizontally within a chart. The center value sample

DXLegendHorizontalPositionRight

The legend is positioned on the right side of the plot area. The right value sample

DXLegendHorizontalPositionRightOutside

The legend is positioned outside of the right side of the plot area. The right-outside value sample

Remarks

The DXLegend.horizontalPosition property uses this enumeration’s values.