TdxChartCrosshairStickyLines Enum
Enumerates crosshair line display modes.
Declaration
TdxChartCrosshairStickyLines = (
None,
SingleAxis,
Crosshair
);
Members
Name | Description | Example |
---|---|---|
None
|
Argument and value crosshair lines always follow the mouse pointer as a crosshair. This mode is compatible with all possible SnapToPointMode property values. |
|
SingleAxis
|
Default. Argument or value lines stick to target series points if the SnapToPointMode property is set to Argument or Value, respectively. The StickyLines property setter changes the SnapToPointMode property value from NearestToCursor to Argument because the |
|
Crosshair
|
Both argument and value crosshair lines snap to target series points if the SnapToPointMode property is set to NearestToCursor. This mode is compatible with all possible SnapToPointMode property values. |
Remarks
Different crosshair line display modes allow you to change what crosshair lines snap to target series points.
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 TdxChartCrosshairStickyLines Type Reference
The TdxChartCrosshairOptions.StickyLines property references the TdxChartCrosshairStickyLines
type.