Back to Devexpress

SeriesPoint.NumericalArgument Property

corelibraries-devexpress-dot-xtracharts-dot-seriespoint-aed30b43.md

latest2.6 KB
Original Source

SeriesPoint.NumericalArgument Property

Gets the point’s argument value of the numerical type.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[Browsable(false)]
public double NumericalArgument { get; set; }
vb
<Browsable(False)>
Public Property NumericalArgument As Double

Property Value

TypeDescription
Double

A Double value that represents the numerical argument of the series data point.

|

Remarks

If a series point argument cannot be converted to a numerical value, the NumericalArgument property returns NaN.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NumericalArgument 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.

winforms-chart-conditionally-hide-series-labels/CS/Form1.cs#L29

csharp
if(!e.Series.Points.Max(p => p.ArgumentX.NumericalArgument).Equals(e.SeriesPoint.NumericalArgument)) {
    e.LabelText = "";

winforms-chart-conditionally-hide-series-labels/VB/Form1.vb#L27

vb
Dim test = e.Series.Points.Max(Function(p) p.ArgumentX.NumericalArgument)
If Not Enumerable.Max(e.Series.Points, Function(p) p.ArgumentX.NumericalArgument).Equals(e.SeriesPoint.NumericalArgument) Then
    e.LabelText = ""

See Also

SeriesPoint Class

SeriesPoint Members

DevExpress.XtraCharts Namespace