Back to Devexpress

CrosshairOptions.ShowArgumentLine Property

corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-4cd844b6.md

latest4.9 KB
Original Source

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

NuGet Package : DevExpress.Charts

Declaration

csharp
public bool ShowArgumentLine { get; set; }
vb
Public Property ShowArgumentLine As Boolean

Property Value

TypeDescription
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:

LibraryObject TypePath to ShowArgumentLine
WinForms ControlsChartControl

.CrosshairOptions .ShowArgumentLine

| | ASP.NET MVC Extensions | ChartControlSettings |

.CrosshairOptions .ShowArgumentLine

| | ASP.NET Web Forms Controls | WebChartControl |

.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=TrueShowArgumentLine=False

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.

asp-net-web-forms-web-chart-control-create-drill-down-chart/CS/DrillDownChart/WebForm1.aspx.cs#L37

csharp
diagram.Rotated = true;
WebChartControl1.CrosshairOptions.ShowArgumentLine = false;
WebChartControl1.CrosshairOptions.CrosshairLabelMode = CrosshairLabelMode.ShowForNearestSeries;

asp-net-web-forms-web-chart-control-create-drill-down-chart/VB/DrillDownChart/WebForm1.aspx.vb#L38

vb
diagram.Rotated = True
WebChartControl1.CrosshairOptions.ShowArgumentLine = False
WebChartControl1.CrosshairOptions.CrosshairLabelMode = CrosshairLabelMode.ShowForNearestSeries

winforms-chart-format-values-in-a-crosshair-cursor-with-a-labels-patterns/VB/FormatCrosshairLabels/Form1.vb#L44

vb
chartControl1.CrosshairOptions.ShowValueLine = True
chartControl1.CrosshairOptions.ShowArgumentLine = True
' Specify the crosshair label pattern for both series.

See Also

CrosshairOptions Class

CrosshairOptions Members

DevExpress.XtraCharts Namespace