TChartSeries.YValues

TChartSeries.YValues
TChartSeries

property YValues: TChartValueList;

Unit
TeEngine

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

Some derived Series publish it:
TLineSeries, TBarSeries, TPointSeries, and some others publish it with another, more friendly name: TPieSeries.PieValues, etc.

WARNING:

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

This property stores values into an internal dynamic array that can be assigned directly for advanced uses that need full speed when adding or modifying points.

var MyArray : Array of Double;
....
(initialize and fill the array with values)
...
Series1.YValues.Count := 1000;
Series1.YValues.Value := MyArray;
Series1.YValues.Modified:=True;