Page 1 of 1

What's the proper way to do high-speed real-time plotting?

Posted: Wed Apr 21, 2004 1:04 am
by 8123616
This way:
fastLine.Clear();
fastLine.Add(x_values, rawData.fData);

Or this way:

fastLine.Clear();
fastLine.DrawAllPoints = false;
fastLine.XValues.Count = x_values.Length;
fastLine.XValues.Value = x_values;
fastLine.YValues.Count = y.Length;
fastLine.YValues.Value = y;
tChart.Refresh();

PLEASE PLEASE Help!

Posted: Wed Apr 21, 2004 7:07 am
by Chris
Hi John,

To answer your specific question, use fastLine.Add() rather than adding the values manually to the ValueLists.

For more details on realtime charting, please read:
http://www.teechart.net/support/modules ... =0&thold=0