Top post: I have accepted an answer,but it doesn\'t work for me. I will post a new question, stressing Delphi 7. Thanks to all who gave some good input
I have me
I would just like to comment on the Michael Schmooks answer. Using High(XValues) to set the Count value for the series causes the last item in the array not to be displayed. This is because high(XValues) returns the highest index of the array, and not the size of the array.
Of course, this is only noticed when a very low nr of items happens to be added.
Chart.Series[0].XValues.Count := high(XValues) + 1;