Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ISparklineGroups Interface / Add Method
The type of sparkline.
Represents the range to use to create the sparkline.


In This Topic
    Add Method (ISparklineGroups)
    In This Topic
    Creates a new sparkline group and returns a ISparklineGroup object.
    Syntax
    'Declaration
     
    
    Function Add( _
       ByVal type As SparkType, _
       ByVal sourceData As String _
    ) As ISparklineGroup
    'Usage
     
    
    Dim instance As ISparklineGroups
    Dim type As SparkType
    Dim sourceData As String
    Dim value As ISparklineGroup
     
    value = instance.Add(type, sourceData)

    Parameters

    type
    The type of sparkline.
    sourceData
    Represents the range to use to create the sparkline.

    Return Value

    The sparkline group are bound to the data in the range sourceData.
    See Also