Where is RecalcMinMax

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
to2
Newbie
Newbie
Posts: 39
Joined: Thu Jan 19, 2006 12:00 am

Where is RecalcMinMax

Post by to2 » Tue Mar 21, 2006 5:00 pm

For speed reasons I add points to a fastline once and update YValues repeatedly. When I query YValues->MinValue or YValues->MaxValue, no actual values are delivered. The manual says: Call YValues->RecalcMinMax this will recalculate the values. However, BCB5 compiler says: RecalcMinMax is not a member of TChartValueList.

How can I force the update of Min/Max Values without adding points?

to2
Newbie
Newbie
Posts: 39
Joined: Thu Jan 19, 2006 12:00 am

Post by to2 » Thu Mar 23, 2006 7:52 am

Now I cycle manually through the values, but this is not what the manual promises. Min, Max and TotalAbs members are currently useless for me because they are not calculated as expected.

It's fine, that for speed reasons they are calculated, only when necessary. But a method to force recalculation as promised should exist.

Flox
Newbie
Newbie
Posts: 2
Joined: Wed Oct 26, 2005 4:00 am

Post by Flox » Tue Mar 28, 2006 12:10 pm

Did anybody find an equivalent to the RecalcMinMax function?

to2
Newbie
Newbie
Posts: 39
Joined: Thu Jan 19, 2006 12:00 am

Post by to2 » Wed Mar 29, 2006 6:05 am

9343949 wrote:Did anybody find an equivalent to the RecalcMinMax function?
Yes. You have to cycle manually through the points and calculate Min/Max by yourself. That's what I do. :?

Post Reply