Problem with TChartScrollBar
Posted: Mon Oct 04, 2004 10:19 am
Hi,
I have a problem with TChartScrollBar. If I create a simple graph displaying a curve with random values having x values in the range [0,50]everything works fine. But if the domain of the x values is [10,60] I have problems with zooming. Tracking a rect with xmin=20 and xmax=40 the graph axis are zoomed to [10,30].
The problem ist the TChartScrollBar as the values of the axes are changed in the FOnZoom event which is connected to the scrollbar. Is there a solution or am I doing something wrong?
Thanks,
Peter
I have a problem with TChartScrollBar. If I create a simple graph displaying a curve with random values having x values in the range [0,50]everything works fine. But if the domain of the x values is [10,60] I have problems with zooming. Tracking a rect with xmin=20 and xmax=40 the graph axis are zoomed to [10,30].
The problem ist the TChartScrollBar as the values of the axes are changed in the FOnZoom event which is connected to the scrollbar. Is there a solution or am I doing something wrong?
Thanks,
Peter