Zooming causes error

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Steve
Newbie
Newbie
Posts: 5
Joined: Wed Dec 09, 2015 12:00 am

Zooming causes error

Post by Steve » Fri Jan 22, 2016 12:18 pm

Hallo,

i'm using the TeeChart Pro v2015.16.150901 VCL Version with Source Code and D2007.
I have a chart with one lineseries. When i zoom this series again and again i get a integer overflow debugger exception in the PointInPolygon-function.
Is this an known problem or is there a workaround?

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Zooming causes error

Post by Yeray » Fri Jan 22, 2016 3:52 pm

Hello,

Could you please arrange a simple example project we can run as-is to reproduce the problem here?
How to post in this forum
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Steve
Newbie
Newbie
Posts: 5
Joined: Wed Dec 09, 2015 12:00 am

Re: Zooming causes error

Post by Steve » Mon Feb 01, 2016 8:51 am

Oh I'm sry. Here's the example. You just have to zoom a few times on the series. When you are in a small point of view there will be an integer error.
Attachments
zoomingerror.zip
(511.32 KiB) Downloaded 553 times

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Zooming causes error

Post by Yeray » Tue Feb 02, 2016 1:11 pm

Hello,

We haven't been able to reproduce the problem with Delphi 7, RAD XE or RAD 10 Seattle.
I will install RAD 2007 in a virtual machine to check with it too.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Zooming causes error

Post by Yeray » Wed Feb 03, 2016 8:51 am

Hello,

I've installed TeeChart Pro v2015.16 Source Code on a new Windows 7 x64 virtual machine with a fresh RAD Studio 2007 and I'm not able to make your project to crash zooming on it; there's a moment where the line disappears, but it doesn't crash.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Steve
Newbie
Newbie
Posts: 5
Joined: Wed Dec 09, 2015 12:00 am

Re: Zooming causes error

Post by Steve » Mon Feb 08, 2016 7:08 am

Ok.
I think the problem is that I use the overflow check in the delphi settings for runtime errors. If this is not activated the error doesn't occur. But then at a small point of view the series isn't drawn any more.

Post Reply