Large TChart takes a long time to draw

前端 未结 3 1258
难免孤独
难免孤独 2021-01-21 06:58

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

3条回答
  •  时光说笑
    2021-01-21 07:18

    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;
    

提交回复
热议问题