home pagenavigator

TeeChart for ActiveX, COM and ASP
Post Reply
l0ghan
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am
Location: lyon(france)
Contact:

home pagenavigator

Post by l0ghan » Wed Apr 27, 2005 5:31 pm

hello my prodject need that only 10 points by pages on the screen and a navigation into these pages but i'm not allow to use the pagenavigator included have you some idea ?
thanks

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

Post by Narcís » Thu Apr 28, 2005 7:27 am

Hello l0ghan,

It's strange, you should be able to do something like:

Code: Select all

Private Sub Form_Load()
    ChartPageNavigator1.Chart = TChart1
    TChart1.Series(0).FillSampleValues 100
    TChart1.Page.MaxPointsPerPage = 10
End Sub
However you can implement one button for each page movement operation (first, previous, next and last) doing:

Code: Select all

    TChart1.Page.Current = 0

Code: Select all

    TChart1.Page.Next

Code: Select all

    TChart1.Page.Previous

Code: Select all

    TChart1.Page.Current = TChart1.Page.Count - 1
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