Skip to main content

DXAxisStyle Class

The axis’s appearance settings storage.

Declaration

@interface DXAxisStyle: DXChartElementStyle

Remarks

The following image demonstrates axis elements whose appearance you can configure using this class.

Styleable elements

Inheritance

NSObject

Properties

interlacedColor Property

Gets or sets an axis’ interlaced color.

Declaration

@property (readwrite, nullable) UIColor *interlacedColor

Property Value

Type Description
UIColor *

The UIColor object that is an axis’ interlaced color.

interlacedHidden Property

Gets or sets the value indicating whether an axis’ interlaced color is hidden.

Declaration

@property (readwrite) BOOL interlacedHidden

Property Value

Type Description
BOOL

YES if the interlaced color is hidden; otherwise NO.

lineColor Property

Gets or sets the color of an axis’ line.

Declaration

@property (readwrite, nullable) UIColor *lineColor

Property Value

Type Description
UIColor *

The UIColor object that is the color of an axis’ line.

lineHidden Property

Gets or sets the value indicating whether an axis’ line is hidden.

Declaration

@property (readwrite) BOOL lineHidden

Property Value

Type Description
BOOL

YES if the line is hidden; otherwise NO.

lineThickness Property

Gets or sets an axis’ line thickness.

Declaration

@property (readwrite) CGFloat lineThickness

Property Value

Type Description
CGFloat

The thickness of axis’ line, in screen points.

majorGridlinesColor Property

Gets or sets the color of an axis’ major gridlines.

Declaration

@property (readwrite, nullable) UIColor *majorGridlinesColor

Property Value

Type Description
UIColor *

The UIColor object that is the color of an axis’ major gridlines.

majorGridlinesHidden Property

Gets or sets the value indicating whether an axis’ major gridlines are hidden.

Declaration

@property (readwrite) BOOL majorGridlinesHidden

Property Value

Type Description
BOOL

YES if the major gridlines are hidden; otherwise NO.

majorGridlinesThickness Property

Gets or sets an axis’ major gridlines thickness.

Declaration

@property (readwrite) CGFloat majorGridlinesThickness

Property Value

Type Description
CGFloat

The thickness of axis’ major gridlines, in screen points.

majorTickmarkLength Property

Gets or sets an axis’ major tickmarks length.

Declaration

@property (readwrite) CGFloat majorTickmarkLength

Property Value

Type Description
CGFloat

The length of axis’ major tickmarks, in screen points.

majorTickmarksHidden Property

Gets or sets the value indicating whether an axis’ major tickmarks are hidden.

Declaration

@property (readwrite) BOOL majorTickmarksHidden

Property Value

Type Description
BOOL

YES if the major tickmarks are hidden; otherwise NO.

majorTickmarkThickness Property

Gets or sets an axis’ major tickmarks thickness.

Declaration

@property (readwrite) CGFloat majorTickmarkThickness

Property Value

Type Description
CGFloat

The thickness of axis’ major tickmarks, in screen points.

minorGridlinesColor Property

Gets or sets the color of an axis’ minor gridlines.

Declaration

@property (readwrite, nullable) UIColor *minorGridlinesColor

Property Value

Type Description
UIColor *

The UIColor object that is the color of an axis’ minor gridlines.

minorGridlinesHidden Property

Gets or sets the value indicating whether an axis’ minor gridlines are hidden.

Declaration

@property (readwrite) BOOL minorGridlinesHidden

Property Value

Type Description
BOOL

YES if the minor gridlines are hidden; otherwise NO.

minorGridlinesThickness Property

Gets or sets an axis’ minor gridlines thickness.

Declaration

@property (readwrite) CGFloat minorGridlinesThickness

Property Value

Type Description
CGFloat

The thickness of axis’ minor gridlines, in screen points.

minorTickmarkLength Property

Gets or sets an axis’ minor tickmarks length.

Declaration

@property (readwrite) CGFloat minorTickmarkLength

Property Value

Type Description
CGFloat

The length of axis’ minor tickmarks, in screen points.

minorTickmarksHidden Property

Gets or sets the value indicating whether an axis’ minor tickmarks are hidden.

Declaration

@property (readwrite) BOOL minorTickmarksHidden

Property Value

Type Description
BOOL

YES if the minor tickmarks are hidden; otherwise NO.

minorTickmarkThickness Property

Gets or sets an axis’ minor tickmarks thickness.

Declaration

@property (readwrite) CGFloat minorTickmarkThickness

Property Value

Type Description
CGFloat

The thickness of axis’ minor tickmarks, in screen points.