Page 1 of 1

Surface chart grows in size when starting to rotate

Posted: Thu Nov 30, 2023 4:09 pm
by 10053944
I have a VCLTee.TeeSurfa 3D surface chart using the Athens version of Delphi and the latest teeChart version. I define my chart to be about half the size of the containing panel, and with the Rotate tool. When I first display the chart at runtime, it is the designed size. However, as soon as I start dragging it to rotate it, it jumps to about a 50% larger size in all 3 dimensions. How do I prevent this resizing?

Re: Surface chart grows in size when starting to rotate

Posted: Mon Dec 04, 2023 7:32 am
by yeray
Hello,

The TRotationTool modifies the Rotation and the Elevation properties, but to do so, it also sets Orthogonal property to False.

Sometimes, setting your starting view with Orthogonal:=False avoids that jump when using the TRotationTool.

If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.

Re: Surface chart grows in size when starting to rotate

Posted: Tue Dec 05, 2023 1:08 am
by 10053944
Thank you very much. That worked.