Page 1 of 1

Problems with Page Navigating and Zoom

Posted: Fri Jun 08, 2007 12:17 pm
by 9339361
Hello,

I am using TChartPageNavigator to enable users to divide data up into pages, defined by the Points Per Page setting in the Chart Editor, under Chart->Paging.

I am having the following problem, when I zoom into an area of the chart, and then try to navigate using the arrows on the TChartPageNavigator, the chart remains the same. However, the "Page X of Y" label changes as it was working properly.

This effect can be seen in the TeeChart Pro 7 Demo, under All Features -> Tools -> Page Number.

Best regards,
Sigurdur

Posted: Fri Jun 08, 2007 1:13 pm
by narcis
Hi Sigurdur,

You can easily avoid that behaviour using TChartPageNavigator's OnButtonClicked event like this:

Code: Select all

procedure TForm1.ChartPageNavigator1ButtonClicked(Index: TTeeNavigateBtn);
begin
  Chart1.UndoZoom;
end;