TotalSeries Property
Return the total number of series in the seriesCollection. This property usually used in conjunction with SplitByLimit.
Syntax
Example
int pageSize=3; int totalPage = Chart.Total%pageSize==0?Chart.Total/pageSize:(Chart.Total/pageSize)+1; if(totalPage>currentPage) { //Display "Next" button. }
Dim pageSize As Integer = 3 Dim totalPage As Integer = Chart.Total / pageSize; If Chart.Total Mod pageSize > 0 Then totalPage = totalPage + 1) End If If totalPage > currentPage Then 'Display "Next" button. End If
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also