corelibraries-devexpress-dot-xtracharts-dot-series-8b62fc99.md
Gets or sets the value that identifies whether the series’s data source is sorted.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[Browsable(false)]
public bool DataSourceSorted { get; set; }
<Browsable(False)>
Public Property DataSourceSorted As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if the series’s data source has been sorted; otherwise, false.
|
Use the DataSourceSorted property to notify the chart that the series’s data source has been sorted to prevent the chart’s internal sorting procedures.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataSourceSorted 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-charts-create-real-time-chart/CS/RealTimeChartUpdates/Form1.cs#L19
series.DataSource = dataPoints;
series.DataSourceSorted = true;
series.ArgumentDataMember = "Argument";
series.DataSource = viewportData;
series.DataSourceSorted = true;
series.ArgumentDataMember = "Argument";
winforms-charts-create-real-time-chart/VB/RealTimeChartUpdates/Form1.vb#L25
series.DataSource = dataPoints
series.DataSourceSorted = True
series.ArgumentDataMember = "Argument"
series.DataSource = viewportData
series.DataSourceSorted = True
series.ArgumentDataMember = "Argument"
See Also