Re: How to calc teechart positions?

From: Gustav (gustav.NkOaSiPsAeMr_at_evk.co.at)
Date: 10/30/03


Date: Thu, 30 Oct 2003 16:07:32 +0100

Sorry but forgot to include one critical line of code:

> procedure TXyz.DisplayNewStatistics(data: Array Of Integer);
> begin
     MyChart.Series[0].Clear; //<- empty current
statistics
> for i := low(Data) To high(Data) Do
> MyChart.Series[0].Add(Data[i], IntToStr(i+1), clTeeColor);
> ...
> // now check if marks are overlapping ...
>
> for i := 0 To MyChart.Series[0].Marks.Count-1 Do Begin
> // NEVER reaches here
> end;
> end;