Skip to main content

TdxChartToolTipMode Enum

Enumerates all chart tooltip display modes.

Declaration

TdxChartToolTipMode = (
    Default,
    None,
    Simple,
    Crosshair
);

Members

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.

VCL Chart Control: All Tooltips are Disabled in an XY Diagram

None

All tooltips are disabled.

This is the default option at the Chart control level.

VCL Chart Control: All Tooltips are Disabled in an XY Diagram

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.

VCL Chart Control: The Simple Tooltip Mode is Active in an XY Diagram

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.

VCL Chart Control: The Crosshair Cursor Mode is Active in an XY Diagram

Remarks

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.

Direct TdxChartToolTipMode Type References

Since different diagram types support different sets of tooltip display modes, the following types define subranges of the TdxChartToolTipMode type:

TdxChartActualToolTipMode
Enumerates tooltip display modes in a chart series.
TdxChartSimpleDiagramToolTipMode
Enumerates tooltip display modes in a simple series.
TdxChartXYDiagramToolTipMode
Enumerates tooltip display modes in an XY series.
See Also