ZingChart: How to use zoom and panning with mobile charts

You can enable zooming and panning with fingers on mobile charts by using the code:

zingchart.TOUCHZOOM = 'pinch';  

This will allow you to zoom into the chart by pinching your fingers on a mobile device and allow you to scroll using finger panning. This piece of code can be placed above the render function. Also, remember to turn on the zooming attribute in the respective scale you would like to zoom on. Here is a demo on how touch zooming and panning can be set up for mobile devices: https://demos.zingchart.com/view/7PHGN796.

Relative links:

  1. Live Demo

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us