Partager via


Series.XValues Property

Returns or sets an array of x values for a chart series. The XValues property can be set to a range on a worksheet or to an array of values, but it cannot be a combination of both. Read/write Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property XValues As Object
    Get
    Set
'Usage
Dim instance As Series
Dim value As Object

value = instance.XValues

instance.XValues = value
Object XValues { get; set; }

Property Value

Type: System.Object

Remarks

For PivotChart reports this property is read-only.

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.Excel Namespace