Skip to main content

TdxChartToolTips Class

Stores tooltip settings of a Chart control.

Declaration

TdxChartToolTips = class(
    TcxOwnedPersistent
)

Remarks

Tooltips allow users to interact with a diagram and display additional information on series points under the mouse pointer. The TdxChartToolTips class implements simple tooltip and Crosshair Cursor settings at the Chart control level.

Simple Tooltips

Simple tooltips display a series caption and/or a series point value when a user hovers the mouse pointer over a series or a series point.

VCL Chart Control: A Series and Series Point Tooltip Example

Crosshair Cursor

Crosshair Cursor is an advanced tooltip that can target multiple series points in an XY diagram and display additional information on them. In addition, you can display crosshair lines and axis labels to help users track the coordinates of the target points or the current mouse pointer position.

VCL Chart Control: A Crosshair Cursor Example in an XY Diagram

Main API Members

The list below outlines key members of the TdxChartToolTips class that allow you to customize tooltip settings at the Chart control level.

DefaultMode
Specifies the default tooltip display mode in a Chart control.
CrosshairOptions
Provides access to Crosshair Cursor settings.
SimpleToolTipOptions
Provides access to simple tooltip settings.
Assign
Copies tooltip settings between Chart control settings.

Direct TdxChartToolTips Class References

The ToolTips property of a Chart control references a TdxChartToolTips object.

Tooltip Scaling in RAD Studio 10.3 and Earlier IDEs

Tooltips do not scale properly according to the current monitor DPI in projects built with Embarcadero RAD Studio® 10.3 and earlier IDEs due to a tooltip implementation bug in the VCL library.

To work around this bug, you need to place the TcxHintStyleController component on a form.

Inheritance

See Also