Gets the number of pages, according to MaxPointsPerPage property.
public Int32 Count {get;}

Remarks


The Count property returns the number of Chart pages. The TChart.Page.MaxPointsPerPage property must be greater than zero to activate auto paging.

The TChart.Page.Current property determines the current visible page.

Example


[C#]

This code moves Chart to the last page

private void button1_Click(object sender, System.EventArgs e) 
{
     tChart1.Page.Current = tChart1.Page.Count;
}


This code moves the Chart to the first page

private void button2_Click(object sender, System.EventArgs e) 
{
     tChart1.Page.Current = 1;
}

See Also

Page Class | Page Members | Steema.TeeChart Namespace