The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Series.Arguments Property

Gets or sets the data used as arguments for series points.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

ChartData Arguments { get; set; }
Property Arguments As ChartData
ChartData Arguments { get; set; }
Property Arguments As ChartData
ChartData Arguments { get; set; }
Property Arguments As ChartData

Property Value

Type Description
ChartData

A ChartData object specifying data for chart data points.

Property Value

Type Description
ChartData

A ChartData object specifying data for chart data points.

Property Value

Type Description
ChartData

A ChartData object specifying data for chart data points.

Remarks

You can use the ChartData.FromRange method to create chart data object from a worksheet cell range and assign it to the Arguments property. Use the ChartData.FromArray method or implicit type conversion to specify an array of values.

The code snippet illustrates how to specify an array of values as the data source for series arguments and values.

The code snippet illustrates how to specify a cell range and an array of strings as data sources for series arguments.

Dim worksheet As Worksheet = workbook.Worksheets("Sheet1")
workbook.Worksheets.ActiveWorksheet = worksheet
workbook.BeginUpdate()

' Create a chart.
Dim chart As Chart = worksheet.Charts.Add(ChartType.LineMarker, worksheet(0,0))
' Specify arguments.
chart.Series(0).Arguments = New CellValue() {1,2,3}
' Specify values.
chart.Series(0).Values = New CellValue() { 30, 20, 10 }

workbook.EndUpdate()
See Also