Modified Performance Example in sample examples, found it is hard to handle random data.
Instead of drawing sin cos data, I tested with Random data.
In Example_Browser->PerformanceExamples.cs
Plot freeze.
I believe it is WPF's limit.
Instead of drawing sin cos data, I tested with Random data.
In Example_Browser->PerformanceExamples.cs
Plot freeze.
I believe it is WPF's limit.
private static void AddPoints(IList<IDataPoint> points, int n)
{
//for (int i = 0; i < n; i++)
//{
// double x = Math.PI * 10 * i / (n - 1);
// points.Add(new DataPoint(x * Math.Cos(x), x * Math.Sin(x)));
//}
int dataCounts=n;
var rnd = new Random();
for (int i = 0; i < dataCounts; i++) {
var dp = new DataPoint(i, rnd.Next(0, 65000));
points.Add(dp);
}
}