Home forums Using CanvasJS Disable interactivity in mobile device

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27480

    Hi. does canvasjs supports event handling such as if the device is mobile, all interactions such as zooming and panning will be disabled, if the device is desktop or laptop, zooming and panning is true.

    Thank you.

    #27503

    @jfranco30,

    You can disable interaction with chart like updating toolTip, zooming/panning, mouse-events, etc with the help of interactivityEnabled property. Setting interactivityEnabled to false in smaller screen should work fine in your case. Please take a look at this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.