TChartValueList.Modified
 
 
 

All Units  All Classes  Properties, Methods and Events  

TChartValueList.Modified
TChartValueList

property Modified: Boolean;

Unit
TeEngine

Description
Gets or sets a flag indicating values in the Value array property have been changed, so the TChartValueList must recalculate its statistics the next time a property like MinValue, MaxValue, Total or TotalABS is accessed.

You should set Modified to True after changing values in the Value array directly by code.

Example:

Series1.YValues.Value[12] := 123.45;
Series1.YValues.Modified := True;

You can avoid setting Modified to True and still changing values by using the default indexed property of TChartValueList:

Series1.YValues[12] := 123.45;

However, this way of changing values is slower than accessing the Value array directly.




Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.