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

DXCrosshairLineStyle Class

The Crosshair Cursor line’s appearance settings storage.

Declaration

@interface DXCrosshairLineStyle: DXChartElementStyle

Remarks

The style contains the following settings:

Style parameters

Inheritance

NSObject
DXChartElementStyle
DXCrosshairLineStyle

Properties

labelBackgroundColor Property

Gets or sets the label background color.

Declaration

@property (readwrite, nullable) UIColor *labelBackgroundColor

Property Value

Type Description
UIColor *

The UIColor object that is the label background color.

stroke Property

Gets or sets the line stroke color.

Declaration

@property (readwrite, nullable) UIColor *stroke

Property Value

Type Description
UIColor *

The UIColor object that is the line stroke color.

strokeThickness Property

Gets or sets the line stroke thickness.

Declaration

@property (readwrite) NSInteger strokeThickness

Property Value

Type Description
NSInteger

The line stroke thickness.

textStyle Property

Gets or sets the Crosshair line label’s text appearance settings.

Declaration

@property (readwrite, nullable) DXTextStyle *textStyle

Property Value

Type Description
DXTextStyle *

The Crosshair line label’s text appearance settings storage.

Remarks

Set this property to nil to reset the default test appearance.