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 Snap |
|
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 Snap |
|
Nearest
|
Crosshair Cursor targets a series point near the mouse pointer position within the diagram area. The Snap
|
#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
Tdx
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 Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Nearest
value in code.
#Direct TdxChartCrosshairSnapToPointMode Type Reference
The TdxChartCrosshairOptions.SnapToPointMode property references the TdxChartCrosshairSnapToPointMode
type.