Skip to main content

DXCrosshairHintBehavior Class

The Chart hint behavior specifies if a Crosshair Cursor should be available as an interactive hint.

Declaration

@interface DXCrosshairHintBehavior: DXHintBehavior

Remarks

The following image highlights the main Crosshair Cursor elements:

elements

Inheritance

NSObject
DXHintBehavior
DXCrosshairHintBehavior

Properties

argumentLabelHidden Property

Gets or sets a value indicating whether an argument label is hidden.

Declaration

@property (readwrite) BOOL argumentLabelHidden

Property Value

Type Description
BOOL

YES if an argument label is hidden; otherwise NO.

argumentLineHidden Property

Gets or sets a value indicating whether an argument line is hidden.

Declaration

@property (readwrite) BOOL argumentLineHidden

Property Value

Type Description
BOOL

YES if an argument line is hidden; otherwise NO.

groupHeaderHidden Property

Gets or sets a value indicating whether a group header is hidden.

Declaration

@property (readwrite) BOOL groupHeaderHidden

Property Value

Type Description
BOOL

YES if a group header is hidden; otherwise NO.

groupHeaderTextPattern Property

Gets or sets the text pattern that forms the Crosshair Label’s group header.

Declaration

@property (readwrite, nullable) NSString *groupHeaderTextPattern

Property Value

Type Description
NSString *

The text pattern that forms the Crosshair Label’s group header.

highlightPoint Property

Gets or sets a value indicating whether to highlight a series point the Crosshair Cursor is tracking.

Declaration

@property (readwrite) BOOL highlightPoint

Property Value

Type Description
BOOL

YES if points the Crosshair Cursor is tracking should be highlighted; otherwise NO.

labelPosition Property

Gets or sets the position of the Crosshair Label.

Declaration

@property (readwrite, nullable) DXCrosshairLabelPositionBase *labelPosition

Property Value

Type Description
DXCrosshairLabelPositionBase *

An object of a DXCrosshairLabelPositionBase descendant class that specifies the position of the Crosshair Label.

maxSeriesCount Property

Gets or sets the maximum number of points that the Crosshair Label displays.

Declaration

@property (readwrite) NSInteger maxSeriesCount

Property Value

Type Description
NSInteger

The maximum number of points that the Crosshair Label displays.

Remarks

If the number of tracked points is larger than the number which this property specifies, the Crosshair Label displays closest to the touch point data points. For example, if the Cursor should show 1, 3 and 5 and the end user’s finger is next to 0 the Crosshair cursor shows 1 and 3.

valueLabelHidden Property

Gets or sets a value indicating whether a value label is hidden.

Declaration

@property (readwrite) BOOL valueLabelHidden

Property Value

Type Description
BOOL

YES if a value label is hidden; otherwise NO.

valueLineHidden Property

Gets or sets a value indicating whether a value line is hidden.

Declaration

@property (readwrite) BOOL valueLineHidden

Property Value

Type Description
BOOL

YES if a value line is hidden; otherwise NO.