Surface chart grows in size when starting to rotate

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
hcknobel
Newbie
Newbie
Posts: 2
Joined: Tue Jul 21, 2009 12:00 am

Surface chart grows in size when starting to rotate

Post by hcknobel » Thu Nov 30, 2023 4:09 pm

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?

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

Re: Surface chart grows in size when starting to rotate

Post by Yeray » Mon Dec 04, 2023 7:32 am

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.
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

hcknobel
Newbie
Newbie
Posts: 2
Joined: Tue Jul 21, 2009 12:00 am

Re: Surface chart grows in size when starting to rotate

Post by hcknobel » Tue Dec 05, 2023 1:08 am

Thank you very much. That worked.

Post Reply