How to calc teechart positions?
From: Gustav (gustav.NkOaSiPsAeMr_at_evk.co.at)
Date: 10/30/03
- Next message: Gustav: "Re: How to calc teechart positions?"
- Previous message: Iman L Crawford: "Re: Someone Confirm if Quickreports previews in NT"
- Next in thread: Gustav: "Re: How to calc teechart positions?"
- Reply: Gustav: "Re: How to calc teechart positions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 16:03:57 +0100
Hi all!
I'm using a teechart (v4.04 standard with Delphi 7) in the following way:
procedure TXyz.DisplayNewStatistics(data: Array Of Integer);
begin
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 Series[0].Marks.Count-1 Do Begin
// NEVER reaches here
end;
end;
The list of Marks is empty. Placing the code in OnAfterDraw is no
option too (the mark positions are present at that time) because they are
already drawn then and their position cannot be changed without a flicker
(same as with MyChart.Update in the methode above).
So how can I force the series to make its calculations without drawing
it's contents?
TIA
gustav
- Next message: Gustav: "Re: How to calc teechart positions?"
- Previous message: Iman L Crawford: "Re: Someone Confirm if Quickreports previews in NT"
- Next in thread: Gustav: "Re: How to calc teechart positions?"
- Reply: Gustav: "Re: How to calc teechart positions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|