Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
xamChart - Zooming feature
posted

I am evaluating NetAdvantage for WPF 2008 Vol. 2.  Does xamChart has Zooming feature?

Regards,

Priya

Parents
  • 65
    posted

    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);

    Regards,

    Daniel

Reply Children