Logarithmic Axis Bug (v.8.01.10798)

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Miket
Newbie
Newbie
Posts: 23
Joined: Thu Apr 15, 2004 4:00 am
Location: Russia, Moscow
Contact:

Logarithmic Axis Bug (v.8.01.10798)

Post by Miket » Sun Sep 30, 2007 7:57 pm

I just uploaded to Steema upload page an example revealing a bug in
Logarithmic axis mode (file LogAxisBug.zip).

The project includes a precompiled executable. The bug is clearly seen in
debug mode when the project was compiled with range check = on.

The exception raises in the "TeEngine.pas" (version 8.01.10798, September
release), around lines 4578-4579:

if tmpNumTicks>0 then // 7.0 fix first tick
begin
tmpValue:=CalcPosPoint(Tick[tmpNumTicks-1])/LogarithmicBase;
DrawLogMinorTicks(tmpValue);

for t:=-1 to tmpNumTicks-3 do
DrawLogMinorTicks(CalcPosPoint(Tick[t]));


It is obvious, that the index of dynamic array Tick is -1 in this loop!

I am using Delphi 2007 + SP3

Best regards,
Michael

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Oct 01, 2007 1:07 pm

Hi Michael,

Thanks for the information. I've been able to reproduce the issue here and added it (TV52012480) to our defect list to be reviewed for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply