ChartScrollBar problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jeff
Newbie
Newbie
Posts: 1
Joined: Fri Nov 15, 2002 12:00 am

ChartScrollBar problem

Post by Jeff » Fri Oct 29, 2004 12:01 am

I am trying to use the TChartScrollBar component. It seems to work fine under the new feature demo. But, when I create a stand alone program, it seems to have a bit of the problem. The problem is that, as you scroll the chart using the scroll bar,it scrolls between min and max value - interval ( setup by SetMinMax function). The last section ( interval ) can only be scrolled by the right arrow on the TChartScrollBar. Any idea on how to resolve this problem? By the way, I am using Delphi 5 with TeeChartPro 5.02.

Thanks

Jeff

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

Post by Pep » Fri Oct 29, 2004 11:16 am

Hi Jeff,

I think the problem is in the TChartScrollBar.RecalcPosition implementation. We'll try to improve this for next releases. In the meantime the "solution" would be to use regular TScrollBar and manually change axis scale by using TChartAxis.SetMinMax method (zooming and scrolling is merely changing axis minimum and maximum value).

Post Reply