Home forums Using CanvasJS How to implement scrolling on mobile?

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 3 weeks, 6 days ago.

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

    ttchuah
    Member

    I am using the ReactJS version of the CanvasJS library.

    I have some charts laid out on the screen such that they take up close to 100% height and width on a mobile device.

    When I place my fingers on the chart and drag (in order to scroll), I am unable to scroll.

    Is there any way to get around this?

    • This topic was modified 4 weeks ago by  ttchuah. Reason: Typo
    • This topic was modified 4 weeks ago by  ttchuah.
    #23478

    Priyanka M S
    Member

    @ttchuah,

    Whenever you move finger/pointer on the chart, the chart has to know if you are trying to scroll or interact with the chart. Hence, the behavior is designed such that, the pointer gets locked to chart only when you touch and hold on there for a moment. But if you directly try to scroll vertically without pausing, it should let you scroll.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.