TdxChartToolTips.DefaultMode Property
Specifies the default tooltip display mode in a Chart control.
Declaration
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 | |
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.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.
-
These examples demonstrate all possible
DefaultMode
property values for the same XY diagram with three simple Line series.