Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetSparkline Method / SetSparkline(Int32,Int32,CellRange,DataOrientation,SparklineType,SparklineSetting) Method
The row.
The column.
The data range.
The data orientation.
The sparkline type.
The sparkline setting.


In This Topic
    SetSparkline(Int32,Int32,CellRange,DataOrientation,SparklineType,SparklineSetting) Method
    In This Topic
    Sets the sparkline to a cell.
    Syntax
    'Declaration
     
    Public Overloads Function SetSparkline( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal dataRange As CellRange, _
       ByVal dataOrientation As DataOrientation, _
       ByVal type As SparklineType, _
       ByVal setting As SparklineSetting _
    ) As Sparkline
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim dataRange As CellRange
    Dim dataOrientation As DataOrientation
    Dim type As SparklineType
    Dim setting As SparklineSetting
    Dim value As Sparkline
     
    value = instance.SetSparkline(row, column, dataRange, dataOrientation, type, setting)
    public Sparkline SetSparkline( 
       int row,
       int column,
       CellRange dataRange,
       DataOrientation dataOrientation,
       SparklineType type,
       SparklineSetting setting
    )

    Parameters

    row
    The row.
    column
    The column.
    dataRange
    The data range.
    dataOrientation
    The data orientation.
    type
    The sparkline type.
    setting
    The sparkline setting.

    Return Value

    The sparkline.
    See Also