Series.XValues Property
Excel Developer Reference |
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 Variant.
Syntax
expression.XValues
expression A variable that represents a Series object.
Remarks
For PivotChart reports, this property is read-only.
Example
This example sets the x values for series one in Chart1 to the range B1:B5 on Sheet1.
Visual Basic for Applications |
---|
|
This example uses an array to set values for the individual points in series one in Chart1.
Visual Basic for Applications |
---|
|
See Also