ISeries.XValues
ISeries
property XValues: IValueList;
Type Library
TeeChartx
Description
By default, any Series has an XValues property. This is the IValueList where the point values will be stored at runtime. Also by default, XValues is a Public property. Some derived Series publish it: LineSeries, BarSeries, PointSeries, etc. Some others publish it with another, more friendly name: GanttSeries.StartValues, etc.
WARNING:
You CAN NOT Delete, Clear or Add values DIRECTLY. You need to call the Series equivalent methods to do this.
Example [Visual Basic]:
Many things can be done with the XValues property.
For example, you can modify its values (thus forcing the Chart to repaint):
This will change the 5th point horizontal value to 10.
TChart1.Series(0).XValues.Value(5) = 10
Or, if contains DateTime XValues...
TChart1.Series(0).XValues.Value(5) = DateValue("10/11/01")
Or...
With TChart1.Series(0).XValues
.Value(5) = .Value(5) + 1
End With