Home Forums Feature Requests & Feedback Zoom by tap start and end

Zoom by tap start and end

Viewing 2 posts - 1 through 2 (of 2 total)
  • #44344

    Hello there!

    Is there a way with the graph where, instead of dragging and zooming, you have the option to tap a starting point and an ending point to zoom into the specific area?

    The reason I’m asking for this is that our software needs to run on touch devices, and our customers use our devices with gloves, making it difficult for them to drag.

    Here’s a visual example of exactly what I mean.

    Example

    #44347

    @madsellab,

    Zooming into a region by selecting region based on taps is not available as an inbuilt feature as of now. However, you can achieve the same with few lines of code by changing the viewport based on the clicks / taps. Please take a look at this JSFiddle for an example on the same.

    Zooming Chart Based on Mouse Click / Tap


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.