CrosshairOptions.ValueSelectionMode Property

Gets or sets the identifier specifying the behavior of the selection of points shown in the crosshair label.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public CrosshairValueSelectionMode ValueSelectionMode { get; set; }
Public Property ValueSelectionMode As CrosshairValueSelectionMode

Property Value

Type Description
CrosshairValueSelectionMode

The selection behavior identifier.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ValueSelectionMode
WinForms Controls ChartControl
.CrosshairOptions.ValueSelectionMode
ASP.NET Controls and MVC Extensions ChartControlSettings
.CrosshairOptions.ValueSelectionMode
MVCxChartControl
.CrosshairOptions.ValueSelectionMode
WebChartControl
.CrosshairOptions.ValueSelectionMode

Remarks

The following behaviors are available.

Mode Example Description
Value ValueSelectionMode - Value Points for the crosshair are selected by the exact value specified by the Crosshair Cursor.
ValueRange ValueSelectionMode - ValueRange Points for the crosshair are selected from a range around the value specified by the Crosshair Cursor.
Default The selection behavior is specified depending on the axis scale type. If scale type is Numeric, the mode is ValueRange; otherwise the scale type is Value.

To learn more about the Crosshair Cursor, see Tooltip and Crosshair Cursor.

See Also