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.DefaultMode Property

Specifies the default tooltip display mode in a Chart control.

#Declaration

Delphi
property DefaultMode: TdxChartActualToolTipMode read; write; default TdxChartToolTipMode.None;

#Property Value

Type Default Description
TdxChartActualToolTipMode None

The default tooltip display mode.

#Remarks

Set the DefaultMode property to TdxChartToolTipMode.Crosshair or TdxChartToolTipMode.Simple to enable Crosshair Cursor or simple tooltips at the Chart control level.

Use CrosshairOptions and SimpleToolTipOptions properties to configure these tooltip display modes.

#Property Value Examples

Value Example[1]
TdxChartToolTipMode.Simple VCL Chart Control: The Simple Tooltips Mode is Active in an XY Diagram
TdxChartToolTipMode.Crosshair VCL Chart Control: The Crosshair Cursor Mode is Active in an XY Diagram
TdxChartToolTipMode.None VCL Chart Control: All Tooltips are Disabled in an XY Diagram

#Diagram Tooltip Mode

The following properties define the active tooltip display mode at the diagram level and have higher priority than the DefaultMode property:

TdxChartSimpleDiagramToolTipOptions.Mode
Specifies the active tooltip display mode for a simple diagram.
TdxChartXYDiagramToolTipOptions.Mode
Specifies the active tooltip display mode for an XY diagram.

#Limitations

Simple diagrams do not support the Crosshair Cursor mode because it is designed for use in a two-dimensional Cartesian coordinate system.

#Default Value

The DefaultMode property’s default value is TdxChartToolTipMode.None.

Footnotes
  1. These examples demonstrate all possible DefaultMode property values for the same XY diagram with three simple Line series.

See Also