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
65
Complete zoom out with double click on chart
posted

Hi, 

I've added a zooming feature to xamDataChart and zoom works fine with a square selection, but need to add a double click event to enable complete zoom out.

  • 7375
    Offline posted

    Hello Mahender,


    Thank you for contacting. You can achieve your requirement by using ResetZoom method of the chart ,which reset the zoom level to default. If for some reason this dosent help then you may reset the WindowRect of the chart also.

    eg.
    chart.WindowRect = new Rect(0,0,1,1)

    Let me know if have any question.