O'Reilly logo

Learning Highcharts by Joe Kuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying the gesturechange (pinch actions) event to a pie chart

So far we have only explored actions involving a single touch point. Our next goal is to learn how to apply more advanced action events with multi-touch. One of the common actions is the pinch-in/out for zooming out/in respectively. The Safari browser for iOS supports this motion with gesturestart, gesturechange, gestureend events. Whenever there are two or more fingers touching the screen, the gesturestart event is fired. Then the gesturechange event is triggered when the fingers are moved on the screen. When the fingers leave the screen, the gestureend event is generated. In returning control to the event handler, if the action is recognized, a certain property in the event object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required