Skip to main content

CrosshairOptions.ShowArgumentLine Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool ShowArgumentLine { get; set; }

Property Value

Type Description
Boolean

true to display an argument line indicated by a crosshair cursor on a diagram; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowArgumentLine
WinForms Controls ChartControl
.CrosshairOptions .ShowArgumentLine
ASP.NET Web Forms Controls WebChartControl
.CrosshairOptions .ShowArgumentLine
ASP.NET MVC Extensions ChartControlSettings
.CrosshairOptions .ShowArgumentLine

Remarks

Before using the ShowArgumentLine property, make sure the ChartControl.CrosshairEnabled property is set to true.

The following table shows this property in action.

ShowArgumentLine=True ShowArgumentLine=False
ShowArgumentLine_True ShowArgumentLineFalse

Note that the MarkerVisibility property for a particular series (e.g. LineSeriesView.MarkerVisibility) is set to false by default to support series point highlighting on a diagram (in XtraCharts for WinForms only).

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowArgumentLine property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also