Back to Devexpress

TdxChartCrosshairStickyLines Enum

vcl-dxchartcore-04ed9fec.md

latest3.4 KB
Original Source

TdxChartCrosshairStickyLines Enum

Enumerates crosshair line display modes.

Declaration

delphi
TdxChartCrosshairStickyLines = (
    None,
    SingleAxis,
    Crosshair
);

Members

NameDescriptionExample
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 SingleAxis mode is incompatible with the point-based targeting mode.

|

| | 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.

See Also

TdxChartCrosshairSnapToPointMode Type

TdxChartCrosshairSnapToSeriesMode Type

dxChartCore Unit