Page 1 of 1

Real time graphics

Posted: Thu May 28, 2015 3:50 pm
by 16470144
I am running TeeChart Pro V2014.12.140923 32Bit VCL with Rad Studio XE7, using C++.

I am trying to run real time graphics with scrolling the data across the chart. I am following your example in the articles but am having difficulty. I am updating the graph every 200 msec, and am deleting the number of points equal to what was added in the last interval. When I query the last point in the series, I am not getting the same X value as what was last added. The graph is not updating smoothly.

Can you offer any suggestions?

Thank you.
M Weingarden

Re: Real time graphics

Posted: Fri May 29, 2015 10:01 am
by yeray
Hello,
MWeingarden wrote: When I query the last point in the series, I am not getting the same X value as what was last added.
How are you querying the last point in the series, and how are you adding the values?
MWeingarden wrote: The graph is not updating smoothly
In general these are the main tips to improve the performance in real-time charts:
http://www.teechart.net/support/viewtopic.php?p=67870

If you still find problems with this, please try to arrange a simple example project we can run as-is to reproduce the problem here.