vcl-dxchartcore-9771017d.md
Enumerates all chart tooltip display modes.
TdxChartToolTipMode = (
Default,
None,
Simple,
Crosshair
);
| Name | Description | Example |
|---|---|---|
Default |
Default. The default tooltip display mode defined at the diagram level.
In this mode, the parent Chart control’s ToolTips.DefaultMode property value defines the active tooltip display mode for a series.
Note
This option is unavailable at the Chart control level.
|
|
| None |
All tooltips are disabled.
This is the default option at the Chart control level.
|
|
| Simple |
A diagram displays simple tooltips for a series and/or its points depending on the Chart control’s ToolTips.SimpleToolTipOptions.ShowForPoints and ToolTips.SimpleToolTipOptions.ShowForSeries property values.
Simple tooltips are available for all diagram types and support the same formatting patterns as value labels.
|
|
| Crosshair |
Explicitly enables the Crosshair Cursor mode.
Note
Crosshair Cursor is designed for use in a two-dimensional Cartesian coordinate system. This tooltip display mode is available in XY diagrams only.
|
|
You can switch between tooltip display modes at the Chart control level or at the level of individual diagrams. Diagram tooltip mode settings have priority over the Chart control tooltip mode setting.
Note
TdxChartToolTipMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxChartToolTipMode.Simple (in Delphi) or TdxChartToolTipMode::Simple (in C++Builder) to refer to the Simple value in code.
Since different diagram types support different sets of tooltip display modes, the following types define subranges of the TdxChartToolTipMode type:
TdxChartActualToolTipModeEnumerates tooltip display modes in a chart series.TdxChartSimpleDiagramToolTipModeEnumerates tooltip display modes in a simple series.TdxChartXYDiagramToolTipModeEnumerates tooltip display modes in an XY series. See Also
TdxChartToolTips.DefaultMode Property
TdxChartSimpleDiagramToolTipOptions.Mode Property