Home Forums Chart Support How to implement scrolling on mobile?

How to implement scrolling on mobile?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #23474

    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 6 years, 1 month ago by ttchuah. Reason: Typo
    • This topic was modified 6 years, 1 month ago by ttchuah.
    #23478

    @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

    #42098

    Hi, Can you all help me to disable the horizontal scroll ?

    #42110

    @junjun,

    Can you kindly brief us further about your requirement, and share an example or a pictorial representation so that we can understand your scenario better and help you out?


    Thangaraj Raman
    Team CanvasJS

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

You must be logged in to reply to this topic.