Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartToolTips Class

Stores tooltip settings of a Chart control.

#Declaration

Delphi
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.

#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.

#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