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  epunkt@boofen.de 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25201

    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..

    #25218

    @epunktboofen-de,

    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.


    Vishwas R
    Team CanvasJS

    #25220

    Hey, cool, thank You very much

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.