XmlMappedRange.DataSeries Method
Creates a data series in the XmlMappedRange control.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Function DataSeries ( _
Rowcol As Object, _
Type As XlDataSeriesType, _
Date As XlDataSeriesDate, _
Step As Object, _
Stop As Object, _
Trend As Object _
) As Object
Object DataSeries(
Object Rowcol,
XlDataSeriesType Type,
XlDataSeriesDate Date,
Object Step,
Object Stop,
Object Trend
)
Parameters
Rowcol
Type: System.ObjectCan be the xlRows or xlColumns constant to have the data series entered in rows or columns, respectively. If this argument is omitted, the size and shape of the range is used.
Type
Type: XlDataSeriesTypeCan be one of the following XlDataSeriesType constants:
Date
Type: XlDataSeriesDateIf the Type argument is xlChronological, the Date argument indicates the step date unit.
Can be one of the following XlDataSeriesDate constants:
Step
Type: System.ObjectThe step value for the series. The default value is 1 (one).
Stop
Type: System.ObjectThe stop value for the series. If this argument is omitted, Microsoft Office Excel fills to the end of the range.
Trend
Type: System.Objecttrue to create a linear trend or growth trend; false to create a standard data series. The default value is false.
Return Value
Type: System.Object
Remarks
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.