IValueList.Value
IValueList
property Value[Index: Integer]: Double;
Type Library
TeeChartx
Description
Run-time only.
The Value array property holds all values in the list. The Series class repaints whenever values are changed. You can use the Value property to retrieve or change values:
Value property Example
This code changes the 6th series point value to 25:
Delphi
TChart1.Series[ 0 ].YValues.Value[ 5 ] := 25 ;
TChart1.Repaint;
Visual Basic
TChart1.Series(0).YValues.Value(5) = 25
This code is equivalent:
TChart1.Series[ 0 ].YValues[ 5 ] := 25 ;
TChart1.Repaint;
This code too (repaints automatically):
TChart1.Series[ 0 ].YValue[ 5 ] := 25 ;