ISeries.YValues
ISeries

property YValues: IValueList;

Type Library
TeeChartx

Description
By default, any Series has an YValues property. This is the IValueList where the point values will be stored at runtime. Also by default, YValues is a Public property.

Some derived Series publish it: LineSeries, BarSeries, PointSeries, and some others publish it with another, more friendly name: PieSeries.PieValues, etc.

WARNING:

You CAN'T Delete, Clear or Add values DIRECTLY. You need to call the Series equivalent methods to do it.

Example [Visual Basic]:

Many things can be done with the YValues property.

For example, you can modify its values (thus forcing the Chart to repaint):

TChart1.Series 0).YValues.Value(35) = 10

That will change the 35th point vertical value to 10

Or...

With TChart1.Series 0).YValues

.Value(35) = .Value(35)+1

End With

Or, if contains DateTime YValues...

TChart1.Series(0).YValues.Value(35) = DateValue("22/4/98")