Back to Devexpress

TdxChartToolTips Class

vcl-dxchartcore-e4ac0bd5.md

latest3.5 KB
Original Source

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.

DefaultModeSpecifies the default tooltip display mode in a Chart control.CrosshairOptionsProvides access to Crosshair Cursor settings.SimpleToolTipOptionsProvides access to simple tooltip settings.AssignCopies 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

TObject TPersistent TcxOwnedPersistent TdxChartToolTips

See Also

TdxChartDiagramToolTipOptions Class

TdxChartToolTips Members

dxChartCore Unit