WebChartControl.CrosshairOptions Property

Gets the settings for a crosshair cursor allowing you to specify its position and appearance on a diagram.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v20.2.Web.dll

Declaration

public CrosshairOptions CrosshairOptions { get; }
Public ReadOnly Property CrosshairOptions As CrosshairOptions

Property Value

Type Description
CrosshairOptions

A CrosshairOptions object which represents crosshair cursor options on a diagram.

Available values:

Show 25 items
Name Description
LinesMode

Gets or sets the value specifying how the Crosshair Cursor's lines snap to points when hovering on them.

ContentShowMode

Gets or sets the element that displays the Crosshair's content.

ValueSelectionMode

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

ShowOutOfRangePoints

Gets or sets the value that specifies whether the Crosshair cursor should show points that are out of a y-axis's visual range.

CrosshairLabelBackColor

Gets or sets the background color of the Crosshair series label.

CrosshairLabelTextOptions

Returns text options of the Crosshair series label item.

GroupHeaderTextOptions

Returns text options of the Crosshair series label group header.

GroupHeaderPattern

Gets or sets a pattern that specifies the group header text to be displayed within the crosshair label.

ShowGroupHeaders

Specifies whether to show a header for each series group in crosshair cursor labels.

HighlightPoints

Gets or sets a value that specifies whether the series points are highlighted when the crosshair cursor hovers over them.

CommonLabelPositionSerializable

Gets the string value used to support serialization of the common label position.

ValueLineStyle

Gets the value line style settings of the crosshair cursor.

ValueLineColor

Gets or sets the color of crosshair value lines.

ArgumentLineStyle

Gets the argument line style settings of the crosshair cursor.

ArgumentLineColor

Gets or sets the color of crosshair argument lines.

CommonLabelPosition

Gets or sets the position of a crosshair label when a common crosshair label is shown for all series on a diagram.

ShowValueLine

Specifies whether to show a value line of a series point indicated by a crosshair cursor on a diagram.

ShowArgumentLine

Specifies whether to show an argument line of a series point indicated by a crosshair cursor on a diagram.

SnapMode

Specifies the current snap mode of a crosshair cursor.

CrosshairLabelMode

Specifies the way in which the crosshair label is shown for a series on a diagram.

ShowOnlyInFocusedPane

Gets or sets a value that specifies whether to show a crosshair cursor in a focused pane only.

ShowCrosshairLabels

Specifies whether to show a crosshair label of a series point indicated by a crosshair cursor on a diagram.

ShowValueLabels

Gets or sets a value that specifies whether to show a value label of a series point indicated by a crosshair cursor on a diagram.

ShowArgumentLabels

Gets or sets a value that specifies whether to show an argument label of a series point indicated by a crosshair cursor on a diagram.

Assign(ChartElement)

Copies all the settings from the CrosshairOptions object passed as the parameter.

Remarks

Before using the CrosshairOptions property, make sure the WebChartControl.CrosshairEnabled property is set to true.

To learn more on a crosshair cursor, see the Crosshair Cursor topic.

See Also