Hi,
I currently have an issue with plotting a XY chart.
I have 2 data X and Y which are functions of time: X=X(t) and Y=Y(t). I intend to plot Y versus X over N samples and update the curve periodically.
Currently the code is as follows:
with Series1 do begin
for i:= 0 to N-1 do begin
AddXY(X(t),Y(t),'');
if count>N then delete(0);
end;
end;
The code above works. But recently I have got an measuring instrument which outputs data at high rate. If I update the curve very quickly, a runtime error occurs after few minutes.
Could you advise about the reason of this runtime error ? How I could do to make a more efficient code ?
Thanks
LÊ Minh-Quang
PS: I logged for TeeChart8 account, but I have bought Teechart2016.
How to plot a XY chart
-
- Newbie
- Posts: 20
- Joined: Tue Jul 03, 2007 12:00 am
- Contact:
Re: How to plot a XY chart
Hello Sciensoria,
Would be very grateful if you can arrange for us a "Minimal, Complete, and Verifiable example (MCVE)" as specified in the here because we can reproduce your problem exactly here. Is possible you do that?
Thanks in advance for your help
Would be very grateful if you can arrange for us a "Minimal, Complete, and Verifiable example (MCVE)" as specified in the here because we can reproduce your problem exactly here. Is possible you do that?
Thanks in advance for your help
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |