I am evaluating NetAdvantage for WPF 2008 Vol. 2. Does xamChart has Zooming feature?
Regards,
Priya
You can navigate the Visual Tree of the XamChart until you get the ViewPort3D object inside of it.
The ViewPort3D has a Camera property that will return a PerspectiveCamera object.
Right there you can do:
PerspectiveCamera camera = yourViewport3D.Camera as PerspectiveCamera;camera.Position = new Point3D(camera.Position.X, camera.Position.Y, camera.Position.Z - yourDelta);
Daniel
you don't need to navigate the Visual Tree, you can access these settings via the Transform3D property of the chart control.