Hi, I am in the process of converting an in-house chart drawing Delphi form to use TeeChart. The form displays a mix of analogue and logic traces (just like an oscilloscope). The analogue traces are easy and working fine. To draw the logic traces, I've created a TFastLineSeries for each trace and used AddXY to specify only the transitions for efficienty. I must make up to 128 logic traces available in a single 'plot' alongside (or behind) the analogue traces and because the chart may not be high enough for clarity, a scrollbar had been added to restrict visible logic traces using Series.Visible. An example is shown in the attatched "Example of present solution".
The problem that I am having is that it's slow to render the 128 traces for the first time (even with Begin/End update) and the more I dig into using a separate series for each logic trace (of possible 128) the more I feel that I should be creating a derivative of TSeries to draw my own points of the canvas - this is the method presently used in the legacy form and it works fine. I dont need 3D for the logic traces.
Any suggestions please?
Thanks
Brian.
How best to create a series containing logic traces
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How best to create a series containing logic traces
Hi Brian,
I recommend you to read the Real-time charting article here. If this doesn't help don't hesitate to let us know.
I recommend you to read the Real-time charting article here. If this doesn't help don't hesitate to let us know.
Best Regards,
Narcís Calvet / 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 |