Back to Devexpress

ChartData.FromArray(CellValue[]) Method

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-chartdata-dot-fromarray-x28-devexpress-dot-spreadsheet-dot-cellvalue-x29.md

latest1.6 KB
Original Source

ChartData.FromArray(CellValue[]) Method

Converts an array of values to chart data.

Namespace : DevExpress.Spreadsheet.Charts

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public static ChartData FromArray(
    CellValue[] values
)
vb
Public Shared Function FromArray(
    values As CellValue()
) As ChartData

Parameters

NameTypeDescription
valuesCellValue[]

An array of values.

|

Returns

TypeDescription
ChartData

A ChartData object.

|

Remarks

The CellValue type has implicit conversion operators for the numeric, boolean and string types so you can simply pass an array of literals to the FromArray method.

See Also

ChartData Class

ChartData Members

DevExpress.Spreadsheet.Charts Namespace