Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / AddSparkline Method / AddSparkline(String,String,SparklineType,ExcelSparklineSetting) Method
The data reference.
The location reference.
The type.
The setting.
Example


In This Topic
    AddSparkline(String,String,SparklineType,ExcelSparklineSetting) Method
    In This Topic
    Adds the sparkline.
    Syntax
    'Declaration
     
    
    Public Overloads Function AddSparkline( _
       ByVal dataRef As String, _
       ByVal locationRef As String, _
       ByVal type As SparklineType, _
       ByVal setting As ExcelSparklineSetting _
    ) As ExcelSparklineGroup
    'Usage
     
    
    Dim instance As SheetView
    Dim dataRef As String
    Dim locationRef As String
    Dim type As SparklineType
    Dim setting As ExcelSparklineSetting
    Dim value As ExcelSparklineGroup
     
    value = instance.AddSparkline(dataRef, locationRef, type, setting)

    Parameters

    dataRef
    The data reference.
    locationRef
    The location reference.
    type
    The type.
    setting
    The setting.
    Remarks
    The data for the sparkline is limited to one column or row of values. The dataref parameter is the range of cells that contains the data for the graph. The locationref is the cell or cells that the sparkline is displayed in.
    Example
    This example creates a sparkline in a cell.
    See Also