Share via


XmlMappedRange.DataSeries メソッド

定義

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

パラメーター

Rowcol
Object

xlRows 定数または xlColumns 定数です。連続データを行と列のどちらに入れるかを示します。 この引数を省略した場合、範囲のサイズと形が使用されます。

Type
XlDataSeriesType

XlDataSeriesType のいずれかの定数を指定できます。 xlAutoFillxlDataSeriesLinearxlChronologicalxlGrowth

Date
XlDataSeriesDate

引数が のType場合、引数はxlChronologicalDateステップの日付単位を示します。次XlDataSeriesDateのいずれかの定数を指定できます。xlDayxlWeekdayxlMonthxlYear

Step
Object

連続データの増分値です。 既定値は 1 です。

Stop
Object

連続データの停止値です。 この引数を省略した場合、Microsoft Office Excel は範囲の末尾まで格納を行います。

Trend
Object

加算または乗算の連続データを作成する場合は true です。標準の連続データを作成する場合は false です。 既定値は false です。

戻り値

注釈

省略可能のパラメーター

省略可能なパラメーターの詳細については、「 Office ソリューションの省略可能なパラメーター」を参照してください。

適用対象