I wish to load 260 days of data into my series but wish to draw a chart with 200 days of data on one page. Is there a way to display 60 days data on page 1 and last 200 days data on page 2.
The last page needs to be have the latest data. The code I tried displays first 200 days on page 1 and next 60 days on page 2.
Will appreciate suggestions to implement the above.
Satish
Multiple Page Charts !!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Satish,
The behaviour you say that works for you is how chart paging works. To get something similar to what you request you should make your irregular pages using Chart1.BottomAxis.SetMinMax as:
The behaviour you say that works for you is how chart paging works. To get something similar to what you request you should make your irregular pages using Chart1.BottomAxis.SetMinMax as:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues(260);
Chart1.BottomAxis.SetMinMax(0,60);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Chart1.BottomAxis.SetMinMax(Chart1.BottomAxis.Maximum,Chart1.BottomAxis.Maximum+200);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1.BottomAxis.SetMinMax(0,60);
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 |
Instructions - How to post in this forum |