Home › forums › Feature Requests & Feedback › set default viewport property of a chart to pan
This topic contains 2 replies, has 2 voices, and was last updated by firstname.lastname@example.org 6 months ago.
Hey, good time folks, when I set viewportMinimum and viewportMaximum, is it possible to set the default property of the chart to pan (not to zoom)? Because when you are on cellphone, peoples want wipe left or right without activating this seperatly….excuse my poor english..
You can achieve this by programmatically clicking the zoom button (which switches to pan mode) upon rendering the chart. Please take a look at this JSFiddle for the same.
Hey, cool, thank You very much
You must be logged in to reply to this topic.