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)
)
Zoom 3D Chart
Re: Zoom 3D Chart
Any value I use for zoompercent does not seem to work in code.
Re: Zoom 3D Chart
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,
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,
Re: Zoom 3D Chart
Hello Lilo,
I'm glad to hear you found how to achieve it.
I'm glad to hear you found how to achieve it.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |