.netCHARTING v10.5 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : TotalSeries Property
TotalSeries Property
Return the total number of series in the seriesCollection. This property usually used in conjunction with SplitByLimit.
Syntax
'Declaration
 
Public ReadOnly Property TotalSeries As Integer
'Usage
 
Dim instance As Chart
Dim value As Integer
 
value = instance.TotalSeries
public int TotalSeries {get;}
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