Skip to main content
A newer version of this page is available. .

CrosshairOptions Members

Contains settings that define how to draw a crosshair cursor on a chart.

Properties

Name Description
ArgumentLineColor Gets or sets the color of crosshair argument lines.
ArgumentLineStyle Gets the argument line style settings of the crosshair cursor.
CommonLabelPosition Gets or sets the position of a crosshair label when a common crosshair label is shown for all series on a diagram.
CommonLabelPositionSerializable Gets the string value used to support serialization of the common label position.
ContentShowMode Gets or sets the element that displays the Crosshair’s content.
CrosshairLabelBackColor Gets or sets the background color of the Crosshair series label.
CrosshairLabelMode Specifies the way in which the crosshair label is shown for a series on a diagram.
CrosshairLabelTextOptions Returns text options of the Crosshair series label item.
GroupHeaderPattern Gets or sets a pattern that specifies the group header text to be displayed within the crosshair label.
GroupHeaderTextOptions Returns text options of the Crosshair series label group header.
HighlightPoints Gets or sets a value that specifies whether the series points are highlighted when the crosshair cursor hovers over them.
IsDisposed Gets a value indicating whether the control has been disposed of. Inherited from ChartElement.
LinesMode Gets or sets the value specifying how the Crosshair Cursor’s lines snap to points when hovering on them.
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.
ShowArgumentLine Specifies whether to show an argument line of a series point indicated by a crosshair cursor on a diagram.
ShowCrosshairLabels Specifies whether to show a crosshair label of a series point indicated by a crosshair cursor on a diagram.
ShowGroupHeaders Specifies whether to show a header for each series group in crosshair cursor labels.
ShowOnlyInFocusedPane Gets or sets a value that specifies whether to show a crosshair cursor in a focused pane only.
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.
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.
ShowValueLine Specifies whether to show a value line of a series point indicated by a crosshair cursor on a diagram.
SnapMode Specifies the current snap mode of a crosshair cursor.
Tag Gets or sets the object that contains data related to the chart element. Inherited from ChartElement.
ValueLineColor Gets or sets the color of crosshair value lines.
ValueLineStyle Gets the value line style settings of the crosshair cursor.
ValueSelectionMode Gets or sets the identifier specifying the behavior of the selection of points shown in the crosshair label.

Methods

Name Description
Assign(ChartElement) Copies all the settings from the CrosshairOptions object passed as the parameter.
Clone() Creates a copy of the current ChartElement object. Inherited from ChartElement.
Dispose() Disposes of the ChartElement object. Inherited from ChartElement.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of the chart element. Inherited from ChartElement.
See Also