CodePudding user response:
A Series?When the data quantity is greater than or equal to 100, remove the front point of the Series, create and add new on OK
if (FormAnalysis - & gt; SeriesCurrentValue - & gt; The Count () & gt;
=100){
FormAnalysis - & gt; SeriesCurrentValue - & gt; Delete (0, 1, true);
}
FormAnalysis - & gt; SeriesCurrentValue - & gt; AddY (dbl_Value, DateTimeToStr (Now ()), clLime);