Page 1 of 1

Zoom and Pan

Posted: Thu Oct 02, 2014 8:41 pm
by 16470252
XE3 Builder, VCL 2014

This has not been a good upgrade from VCL 2012. New problems:

Panning (via right mouse button) draws outside of the panel margins --- no clipping is happening.

Zoom has similar problem. Draws the zoomed area way outside the axes limits, though the axes limits scale correctly.

I get random access violations in msvcrt.dll during zoom, pan, or form resize ---- not sure which.

Note that I have GDI+ enabled.

Kevin

Re: Zoom and Pan

Posted: Fri Oct 03, 2014 11:07 am
by yeray
Hello Kevin,
kmanuele wrote:Panning (via right mouse button) draws outside of the panel margins --- no clipping is happening.

Zoom has similar problem. Draws the zoomed area way outside the axes limits, though the axes limits scale correctly.
It doesn't happen to me here.
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Worth to mention here Chart1.ClipPoints is true by default, but you could forcing it to see if it changes anything:

Code: Select all

Chart1.ClipPoints:=true;

kmanuele wrote:I get random access violations in msvcrt.dll during zoom, pan, or form resize ---- not sure which.
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
kmanuele wrote:Note that I have GDI+ enabled.
Did you have GDI+ enabled when using TeeChart v2012?
And what build, 2012.05, 2012.06 or 2012.07?

Re: Zoom and Pan

Posted: Fri Oct 03, 2014 4:28 pm
by 16470252
I wasn't aware of the ClipPoints option, and I must have set it false unintentionally in the designer.

Thanks for the suggestion.

Will try to reproduce msvcrt.dll access violations.

I did not have GDI+ enabled in VCL 2012
VCL 2012 was Build 2012.07.121105

Thanks

Kevin