Zoom 3D Chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Zoom 3D Chart

Post by lilo » Mon Aug 29, 2011 2:11 am

If I zoom a 3D chart using code, the chart will not zoom out beyong its original size (smaller).

I am using the following code:

Points1.Chart.Aspect.View3D = True
Points1.Chart.Walls.Visible = True
Points1.Chart.Aspect.Orthogonal = False
Points1.Chart.Aspect.Chart3DPercent = 100
Rotate1.Active = True
Steema.TeeChart.Drawing.TeeBase.TeeOpenGL.Active = True
TeeOpenGL1.Chart.Zoom.Active = True
TeeOpenGL1.Chart.Zoom.ZoomPercent(-10)
)

lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Re: Zoom 3D Chart

Post by lilo » Mon Aug 29, 2011 3:15 am

Any value I use for zoompercent does not seem to work in code.

lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Re: Zoom 3D Chart

Post by lilo » Mon Aug 29, 2011 3:50 am

I was using the 2D Zoom property. This code works:

Points1.Chart.Aspect.View3D = True
Points1.Chart.Walls.Visible = True
Points1.Chart.Aspect.Orthogonal = False
Points1.Chart.Aspect.Chart3DPercent = 100
Points1.Chart.Aspect.Zoom = 50
Points1.Chart.Aspect.View3D = True
Rotate1.Active = True
Steema.TeeChart.Drawing.TeeBase.TeeOpenGL.Active = True

Thanks,

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

Re: Zoom 3D Chart

Post by Yeray » Tue Aug 30, 2011 7:57 am

Hello Lilo,

I'm glad to hear you found how to achieve it. :)
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

Post Reply