TdxChartCrosshairSnapToPointMode Enum
Enumerates available series point targeting modes for crosshair lines in XY diagrams.
Declaration
TdxChartCrosshairSnapToPointMode = (
Argument,
Value,
NearestToCursor
);
Members
Name | Description | Example |
---|---|---|
Argument
|
Default. Crosshair Cursor targets a series point near the vertical line that crosses the mouse pointer position within the diagram area. Note Argument and value lines switch places in an XY diagram whose Rotated property is set to This mode is compatible with all possible SnapToSeriesMode and StickyLines property values. |
|
Value
|
Crosshair Cursor targets a series point near the horizontal line that crosses the mouse pointer position within the diagram area. Note Argument and value lines switch places in an XY diagram whose Rotated property is set to This mode is compatible with all possible SnapToSeriesMode and StickyLines property values. |
|
NearestToCursor
|
Crosshair Cursor targets a series point near the mouse pointer position within the diagram area. The SnapToPointMode property setter updates SnapToSeriesMode and StickyLines property values when you enable the
|
Remarks
Different snap to point modes allow you to change how the Chart control detects target series points for crosshair lines and the crosshair label.
Note
TdxChartCrosshairSnapToPointMode
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 TdxChartCrosshairSnapToPointMode.NearestToCursor
(in Delphi) or TdxChartCrosshairSnapToPointMode::NearestToCursor
(in C++Builder) to refer to the NearestToCursor
value in code.
Direct TdxChartCrosshairSnapToPointMode Type Reference
The TdxChartCrosshairOptions.SnapToPointMode property references the TdxChartCrosshairSnapToPointMode
type.