Back to Devexpress

Series.DataSourceSorted Property

corelibraries-devexpress-dot-xtracharts-dot-series-8b62fc99.md

latest3.4 KB
Original Source

Series.DataSourceSorted Property

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

Declaration

csharp
[Browsable(false)]
public bool DataSourceSorted { get; set; }
vb
<Browsable(False)>
Public Property DataSourceSorted As Boolean

Property Value

TypeDescription
Boolean

true , if the series’s data source has been sorted; otherwise, false.

|

Remarks

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

csharp
series.DataSource = dataPoints;
series.DataSourceSorted = true;
series.ArgumentDataMember = "Argument";

winforms-charts-create-real-time-chart-and-collect-data-in-separate-thread/CS/RealTimeChartUpdates/Form1.cs#L28

csharp
series.DataSource = viewportData;
series.DataSourceSorted = true;
series.ArgumentDataMember = "Argument";

winforms-charts-create-real-time-chart/VB/RealTimeChartUpdates/Form1.vb#L25

vb
series.DataSource = dataPoints
series.DataSourceSorted = True
series.ArgumentDataMember = "Argument"

winforms-charts-create-real-time-chart-and-collect-data-in-separate-thread/VB/RealTimeChartUpdates/Form1.vb#L40

vb
series.DataSource = viewportData
series.DataSourceSorted = True
series.ArgumentDataMember = "Argument"

See Also

Series Class

Series Members

DevExpress.XtraCharts Namespace