[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ISeriesCollection.Add

Add Method

Add(IRange)

ISeriesCollection 集合中添加一个或多个新系列。 Spread 将通过选定范围的大小和方向确定值的位置。

Declaration
void Add(IRange source)
Parameters
Type Name Description
IRange source

新的数据,一个 Range 对象。

Add(IRange, RowCol)

ISeriesCollection 集合中添加一个或多个新系列。

Declaration
void Add(IRange source, RowCol rowCol)
Parameters
Type Name Description
IRange source

新的数据,一个 Range 对象。

RowCol rowCol

指定给定范围源中的新值是在行还是列中。可以是以下RowCol 常量之一:Rows 或 Columns。

Add(IRange, RowCol, bool, bool)

ISeriesCollection 集合中添加一个或多个新的系列。

Declaration
void Add(IRange source, RowCol rowCol, bool seriesLabels, bool categoryLabels)
Parameters
Type Name Description
IRange source

新的数据,可以是 Range 对象或数据点的数组。

RowCol rowCol

指定新值是在指定范围的行还是列中。

bool seriesLabels

如果第一行或列包含数据系列的名称,则为 True。如果第一行或列包含系列中的第一个数据点,则为 False。

bool categoryLabels

如果第一行或列包含类别标签的名称,则为 True。如果第一行或列包含系列中的第一个数据点,则为 False。