Back to Devexpress

TdxChartToolTips.DefaultMode Property

vcl-dxchartcore-dot-tdxcharttooltips.md

latest3.3 KB
Original Source

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

TypeDefaultDescription
TdxChartActualToolTipModeNone

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

ValueExample[1]
TdxChartToolTipMode.Simple
TdxChartToolTipMode.Crosshair
TdxChartToolTipMode.None

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.ModeSpecifies the active tooltip display mode for a simple diagram.TdxChartXYDiagramToolTipOptions.ModeSpecifies 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

TdxChartSimpleDiagramToolTipOptions Class

TdxChartXYDiagramToolTipOptions Class

TdxChartToolTips Class

TdxChartToolTips Members

dxChartCore Unit