Spread Windows Forms 6.0 Product Documentation
GenerateFromCellRanges(SheetView,CellRange,CellRange,CellRange,Boolean,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class > GenerateFromCellRanges Method : GenerateFromCellRanges(SheetView,CellRange,CellRange,CellRange,Boolean,Boolean) Method


sheetView
The sheet view.
category
The category.
seriesName
Name of the series.
data
The data.
autoSwitch
if set to true, the procesing will switch row and column automatically if it's necessary.
autoCreateCategory
if set to true, the generating process will auto detect and create category if the category cell range is NULL.

Glossary Item Box

Generates from cell ranges.

Syntax

Visual Basic (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, _
   ByVal autoCreateCategory As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As SpreadChart
Dim sheetView As SheetView
Dim category As CellRange
Dim seriesName As CellRange
Dim data As CellRange
Dim autoSwitch As Boolean
Dim autoCreateCategory As Boolean
 
instance.GenerateFromCellRanges(sheetView, category, seriesName, data, autoSwitch, autoCreateCategory)
C# 
public void GenerateFromCellRanges( 
   SheetView sheetView,
   CellRange category,
   CellRange seriesName,
   CellRange data,
   bool autoSwitch,
   bool autoCreateCategory
)

Parameters

sheetView
The sheet view.
category
The category.
seriesName
Name of the series.
data
The data.
autoSwitch
if set to true, the procesing will switch row and column automatically if it's necessary.
autoCreateCategory
if set to true, the generating process will auto detect and create category if the category cell range is NULL.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.