Problems with Page Navigating and Zoom

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sigurdur I. Gunnlaugsson
Newbie
Newbie
Posts: 8
Joined: Fri Oct 01, 2004 4:00 am

Problems with Page Navigating and Zoom

Post by Sigurdur I. Gunnlaugsson » Fri Jun 08, 2007 12:17 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jun 08, 2007 1:13 pm

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;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply