corelibraries-devexpress-dot-xtracharts-dot-seriespoint-d855b230.md
Gets the point’s argument value of the date-time type.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[Browsable(false)]
public DateTime DateTimeArgument { get; set; }
<Browsable(False)>
Public Property DateTimeArgument As Date
| Type | Description |
|---|---|
| DateTime |
A DateTime value that represents the date-time argument of the series data point.
|
If a series point argument cannot be converted to a date-time value, the DateTimeArgument property returns MinValue.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DateTimeArgument 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.
if (group.CrosshairElements[0] != null)
group.HeaderElement.Text = String.Format("Sales in {0:yyyy}", group.CrosshairElements[0].SeriesPoint.DateTimeArgument);
foreach (CrosshairElement element in group.CrosshairElements) {
winforms-charts-configure-swift-plot-chart/CS/ASwiftPlotChart/Form1.cs#L49
foreach (SeriesPoint point in series1.Points)
if (point.DateTimeArgument < minDate)
pointsToRemoveCount++;
For Each group As CrosshairElementGroup In e.CrosshairElementGroups
If group.CrosshairElements(0) IsNot Nothing Then group.HeaderElement.Text = String.Format("Sales in {0:yyyy}", group.CrosshairElements(0).SeriesPoint.DateTimeArgument)
For Each element As CrosshairElement In group.CrosshairElements
winforms-charts-configure-swift-plot-chart/VB/ASwiftPlotChart/Form1.vb#L53
For Each point As SeriesPoint In series1.Points
If point.DateTimeArgument < minDate Then pointsToRemoveCount += 1
Next
See Also