Limits the number of values (or FMX.RS.ChartPanel.TRSChartValue items) in the collection. It provides the chart the ability to limit its size automatically as values are added.
Once the Count property equals the Limit property, every time you Add another value, the 0-th value is deleted. This property makes it easy to ensure your chart values do not grow unbounded and creates an automatic sliding window display ofthe Limit number of points. Note that this is not necessarily the last Limit number of points added, as sorting the values (Sorted) can make which value is deleted unpredictable.
If you want an unlimited number of chart values, set Limit to RSChartConsts|NoLimit .
Namespace: FMX.RS.ChartPanel
Delphi |
published |
Property Value
Type: Integer
The following code shows how Limit property can be used to limit the chart to 100 values: Delphi |
var |