Missing labels in ColorGrid
Posted: Tue Feb 17, 2004 3:02 pm
When plotting a ColorGrid with the command .AddXYZ() sometimes not all the labels are displayed.
It seems that the control doesn't have enough time to (re)paint.
When adding a DoEvents() after each row, the labels are displayed correctly but the painting is very slow (read: too slow) and the CPU-usage boosts up (from about 5% to 70%).
Is there any way to force the teeChart to display all labels without the DoEvents() calls?
Note: using the Win32 API LockWindowUpdate is not an option. The CPU-load is also 70% and when releasing the window, other windows are flickering.
Please advise.
Sinna
It seems that the control doesn't have enough time to (re)paint.
When adding a DoEvents() after each row, the labels are displayed correctly but the painting is very slow (read: too slow) and the CPU-usage boosts up (from about 5% to 70%).
Is there any way to force the teeChart to display all labels without the DoEvents() calls?
Note: using the Win32 API LockWindowUpdate is not an option. The CPU-load is also 70% and when releasing the window, other windows are flickering.
Please advise.
Sinna