vcl-dxchartcore-dot-tdxcharttooltips.md
Specifies the default tooltip display mode in a Chart control.
property DefaultMode: TdxChartActualToolTipMode read; write; default TdxChartToolTipMode.None;
| Type | Default | Description |
|---|---|---|
| TdxChartActualToolTipMode | None |
The default tooltip display mode.
|
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.
| Value | Example[1] |
|---|---|
| TdxChartToolTipMode.Simple | |
| TdxChartToolTipMode.Crosshair | |
| TdxChartToolTipMode.None |
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.
Simple diagrams do not support the Crosshair Cursor mode because it is designed for use in a two-dimensional Cartesian coordinate system.
The DefaultMode property’s default value is TdxChartToolTipMode.None.
Footnotes
DefaultMode property values for the same XY diagram with three simple Line series.See Also
TdxChartSimpleDiagramToolTipOptions Class