Chart won't update after viewing / Also won't zoom or pan

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
DrDigits
Newbie
Newbie
Posts: 2
Joined: Fri Nov 15, 2002 12:00 am
Location: Northern Utah
Contact:

Chart won't update after viewing / Also won't zoom or pan

Post by DrDigits » Mon Jan 12, 2004 5:26 pm

I have a several TCharts (6.01) with two line series. All reside on individual tabsheets. They have been working fine for
the past few months, and just started to misbehave.

1) Everything is ok as long as the tab sheet is not displayed.
When it is displayed, the chart stops updating, even though new data is being added to the series. AutoRepaint = true; Other non-displayed charts continue to update until they are displayed.

2) Pan is set to both, AllowZoom is true. I had been working fine. Now it just sits there, No Pan, No Zoom, although it does draw the zoom rectangle. I threw in an OnZoom event to see if it was seeing the zoom. The event executed (but ignored) the first time I did a zoom, but would not respond to a second zoom.

3) Panning just flat out quit.

Is there a 2004 bug, or perhaps an al-Queda plot going on here?

Perhaps you can give me some suggestions as to what might be happening.

DrDigits
Newbie
Newbie
Posts: 2
Joined: Fri Nov 15, 2002 12:00 am
Location: Northern Utah
Contact:

Chart won't update after viewing / Also won't zoom or pan

Post by DrDigits » Tue Jan 13, 2004 5:17 pm

I traced it through. Somehow, AutoRepaint was changed to false once it was viewed. I guess it could also have happened in design time. Setting AutoRepaint = true resolved the problem.

Post Reply