Stop a Zoom from updating chart canvas ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Stop a Zoom from updating chart canvas ?

Post by SteveP » Thu May 19, 2005 9:20 pm

Is there any way to stop a chart zoom from updating its canvas so the new chart will not be seen ? I would still need to use the OnZoom event to access the zoomed axis values.

When a Bar3D series having a CustomBarWidth is zoomed, the bar widths no longer have the same proportion. They can be reassigned in the OnZoom event, but by that point the zoomed chart with different CustomBarWidths has already been displayed and distracts the user.

Steve

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu May 26, 2005 10:01 am

Hi Steve,

how about using the AutoRepaint property ?
Chart1.AutoRepaint := false;
Setting it to false will not repaint the Chart when you do a Zoom,..

Post Reply