PinchType without ZoomType #5840

Closed
pawelfus opened this Issue Oct 18, 2016 · 1 comment

Projects

None yet

2 participants

@pawelfus
Collaborator
pawelfus commented Oct 18, 2016 edited

Expected behaviour

It should be possible to disable zoomType, but allow pinchType, when chart is generated for mobile devices.

Actual behaviour

If zoomType is disabled, then pinchType option doesn't matter.

Live demo with steps to reproduce

Demo: http://jsfiddle.net/nnuhLray/ (http://jsfiddle.net/nnuhLray/show)

Edit: May be related to #2168

@TorsteinHonsi
Collaborator

Absolutely agreed. I ran into this myself .

@TorsteinHonsi TorsteinHonsi added a commit that closed this issue Oct 31, 2016
@TorsteinHonsi TorsteinHonsi Better implementation of the `chart.pinchType` option. Allow `pinchTy…
…pe` and `zoomType` to be set independently. When `tooltip.followTouchMove` is true, pinchType only applies to two-finger touches. Closes #5840.
937838b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment