Hi there.
I have a large series of data (17 series with 85 000 points in each). Load it in to Teechart (Standard) with AddXY function. Just using the X and Y pos.
The X was directly inserted as TDateTime in this case. Change the X-axis format to TDateTime to present the data properly.
When I'm panning in TeeChart it responds without any issue.
For reasons I want to use labels instead and keep X-axis as default. As element position in the array and put a label on them instead. The label is the corresponding TDateTime.
When I do so TeeChart becomes slow. Too slow to be used. Now I am considering to use pages to downsize number of points on the screen or go back to the previous method and solve that problem.
I'm curious if there are something I'm missing here or doing incorrect.
What could be the reason for this?
Only thing I can think of is that there are 3 elements to process instead of two if I use a label.
Cheers,
MrI
Labels and Panning
Re: Labels and Panning
Hello,
The problem is when you work with labels you must loop almost all them to check the widths of the strings to avoid overlapping; and this has to be done at each repaint.
The workaround would be to set your labels manually.
See the "Custom Labels" checkbox in the attached example:
The problem is when you work with labels you must loop almost all them to check the widths of the strings to avoid overlapping; and this has to be done at each repaint.
The workaround would be to set your labels manually.
See the "Custom Labels" checkbox in the attached example:
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Labels and Panning
Hi Mr Yeray
This looks very promising, will get back to you when I have implemented it in my software.
Until then,
Cheers!
This looks very promising, will get back to you when I have implemented it in my software.
Until then,
Cheers!
Re: Labels and Panning
Hi again, very nice example.
Works much better now.
Thank you!
Works much better now.
Thank you!