Spread for ASP.NET 12 Product Documentation
GenerateFromCellRanges(SheetView,CellRange,CellRange,CellRange,Boolean) Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Chart Namespace > SpreadChart Class > GenerateFromCellRanges Method : GenerateFromCellRanges(SheetView,CellRange,CellRange,CellRange,Boolean) Method
The sheet view.
The category.
Name of the series.
The data.
if set to true, the processing switches rows and columns automatically, if necessary.
Generates a chart from cell ranges.
Syntax
'Declaration
 
Public Overloads Sub GenerateFromCellRanges( _
   ByVal sheetView As SheetView, _
   ByVal category As CellRange, _
   ByVal seriesName As CellRange, _
   ByVal data As CellRange, _
   ByVal autoSwitch As Boolean _
) 
'Usage
 
Dim instance As SpreadChart
Dim sheetView As SheetView
Dim category As CellRange
Dim seriesName As CellRange
Dim data As CellRange
Dim autoSwitch As Boolean
 
instance.GenerateFromCellRanges(sheetView, category, seriesName, data, autoSwitch)
public void GenerateFromCellRanges( 
   SheetView sheetView,
   CellRange category,
   CellRange seriesName,
   CellRange data,
   bool autoSwitch
)

Parameters

sheetView
The sheet view.
category
The category.
seriesName
Name of the series.
data
The data.
autoSwitch
if set to true, the processing switches rows and columns automatically, if necessary.
See Also

Reference

SpreadChart Class
SpreadChart Members
Overload List