Back to Devexpress

CrosshairOptions.ValueSelectionMode Property

corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-883106bf.md

latest3.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
CrosshairValueSelectionMode

The selection behavior identifier.

|

Available values:

NameDescription
Default

The selection behavior is specified based on the axis scale type. If scale type is Numeric, the mode is ValueRange ; otherwise the scale type is Value.

| | Value |

Points for the crosshair are selected by the exact value specified by the Crosshair Cursor.

| | ValueRange |

Points for the crosshair are selected from a range around the value specified by the Crosshair Cursor.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to ValueSelectionMode
WinForms ControlsChartControl

.CrosshairOptions .ValueSelectionMode

| | ASP.NET MVC Extensions | ChartControlSettings |

.CrosshairOptions .ValueSelectionMode

| | ASP.NET Web Forms Controls | WebChartControl |

.CrosshairOptions .ValueSelectionMode

|

Remarks

The following behaviors are available.

ModeExampleDescription
ValuePoints for the crosshair are selected by the exact value specified by the Crosshair Cursor.
ValueRangePoints for the crosshair are selected from a range around the value specified by the Crosshair Cursor.
DefaultThe 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

CrosshairOptions Class

CrosshairOptions Members

DevExpress.XtraCharts Namespace