You must be logged in to post your query.
Home › Forums › Chart Support › How to implement scrolling on mobile?
Tagged: scroll react
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?
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
Hi, Can you all help me to disable the horizontal scroll ?
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?
You must be logged in to reply to this topic. Login/Register