XmlMappedRange.DataSeries 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 XmlMappedRange 控件中创建一个数据系列。
public object DataSeries (object Rowcol, Microsoft.Office.Interop.Excel.XlDataSeriesType Type = Microsoft.Office.Interop.Excel.XlDataSeriesType.xlDataSeriesLinear, Microsoft.Office.Interop.Excel.XlDataSeriesDate Date = Microsoft.Office.Interop.Excel.XlDataSeriesDate.xlDay, object Step, object Stop, object Trend);
abstract member DataSeries : obj * Microsoft.Office.Interop.Excel.XlDataSeriesType * Microsoft.Office.Interop.Excel.XlDataSeriesDate * obj * obj * obj -> obj
Public Function DataSeries (Optional Rowcol As Object, Optional Type As XlDataSeriesType = Microsoft.Office.Interop.Excel.XlDataSeriesType.xlDataSeriesLinear, Optional Date As XlDataSeriesDate = Microsoft.Office.Interop.Excel.XlDataSeriesDate.xlDay, Optional Step As Object, Optional Stop As Object, Optional Trend As Object) As Object
参数
- Type
- XlDataSeriesType
可以是以下 XlDataSeriesType 常量之一: xlAutoFillxlDataSeriesLinearxlChronologicalxlGrowth
- Date
- XlDataSeriesDate
Type
如果 参数为 xlChronological,则Date
参数指示步骤日期单位。可以是以下XlDataSeriesDate常量之一:xlDayxlWeekdayxlMonthxlYear
- Step
- Object
该系列的步长值。 默认值为 1(一)。
- Stop
- Object
该系列的终止值。 如果省略此参数,则 Microsoft Office Excel 会填充到该范围的末尾。
- Trend
- Object
如果创建等差序列或等比序列,则为 true
;如果创建标准数据系列,则为 false
。 默认值为 false
。
返回
注解
可选参数
有关可选参数的信息,请参阅 Office 解决方案中的可选参数。