SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
I want to render the unsorted data. Please check my code:
var dataSeries = new XyDataSeries<double, double>();
lineRenderSeries.DataSeries = dataSeries;
var xData = new double[] { 1, 2, 3,2};
var yData = new double[] { 1, 2, 3,2};
// Append data to series. SciChart automatically redraws
dataSeries.Append(xData, yData); //Stuck here.
if(dataSeries.IsSorted)
In addition, there is a exception thrown with message :
Exception thrown: ‘System.InvalidOperationException’ in SciChart.Charting.dll
Help…..
Yes. Find the answer:
dataSeries.AcceptsUnsortedData = true;
However, the debug info is not good…