tradingview/LightweightChartsIOS

Graph is moving while dragging

supriyakhankarnw18 opened this issue · 2 comments

Hi Team,
According to the project requirement, the user should be able to move Crosshair while dragging across the graph. This feature is functioning well. But, when the Crosshair is absent, when the user drags across the graph, it moves which should not be happening. This is the present issue. Is there any solution for the above issue.

Screen.Recording.2021-06-29.at.11.36.44.AM.mov

Hi! You should use HandleScrollOptions. You can pass it to handleScroll field in applyOptions method of ChartApi

Okay, thank you