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!
What's the proper way to do high-speed real-time plotting?
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
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
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
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/