Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IChart Interface / setSourceData Method / setSourceData(IRange,RowCol) Method
The range that contains the source data.
Specifies the way the data is to be plotted. Can be either of thefollowing RowCol constants: Columns or Rows.
In This Topic
    setSourceData(IRange,RowCol) Method
    In This Topic
    Sets the source data range for the chart.
    Syntax
    void setSourceData( 
       IRange source,
       RowCol plotBy
    )

    Parameters

    source
    The range that contains the source data.
    plotBy
    Specifies the way the data is to be plotted. Can be either of thefollowing RowCol constants: Columns or Rows.
    See Also