Page 1 of 1

ChartScrollBar problem

Posted: Fri Oct 29, 2004 12:01 am
by 5892396
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

Posted: Fri Oct 29, 2004 11:16 am
by Pep
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).