Skip to main content

DXHint Class

The Chart’s interactive hint settings storage.

Declaration

@interface DXHint: DXChartElement

Remarks

The following image shows a hint with its behavior set to DXCrosshairHintBehavior:

Sample

Inheritance

NSObject

Properties

behavior Property

Gets or sets the hint behavior.

Declaration

@property (readwrite, nullable) DXHintBehavior *behavior

Property Value

Type Description
DXHintBehavior *

The DXHintBehavior class descendant object that specifies the hint behavior.

enabled Property

Gets or sets a value indicating whether the interactive hint is enabled.

Declaration

@property (readwrite) BOOL enabled

Property Value

Type Description
BOOL

YES if the interactive hint is enabled; otherwise NO.

showMode Property

Gets or sets a value specifying which action displays an interactive hint.

Declaration

@property (readwrite) DXHintShowMode showMode

Property Value

Type Description
DXHintShowMode

The DXHintShowMode enumeration value that specifies which action displays an interactive hint.

style Property

Gets or sets the Cartesian Chart’s hint appearance settings.

Declaration

@property (readwrite, nullable) DXHintStyle *style

Property Value

Type Description
DXHintStyle *

The DXHintStyle object that contains settings required to configure the Cartesian chart’s hint appearance.

Remarks

Note that if the behavior property is set to a DXTooltipBehavior object, style’s settings that configure Crosshair Cursor’s lines and axis labels are not applicable to the Tooltip appearance.