Page 1 of 1

home pagenavigator

Posted: Wed Apr 27, 2005 5:31 pm
by 6925494
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

Posted: Thu Apr 28, 2005 7:27 am
by narcis
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