So I have a chart that spans 100% when on mobile but when trying to scroll the screen by touching the graph and swiping it simply triggers an event instead of scrolling. For instance if I try to scroll over a pie chart it will bring up the bubble of the pie slice.
Is there an event I could disable to alleviate this issue?
The fix was to set an option in the chart
"panEventsEnabled": false
For line graphs I had to use a combination of the two below:
"panEventsEnabled": false
From http://docs.amcharts.com/javascriptstockchart/PanelsSettings#panEventsEnabled
and
"pan":true
From http://docs.amcharts.com/3/javascriptcharts/ChartCursor#pan
Hope it helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With