tysonwu / dash-tradingview

Tradingview Lightweight Charts wrapper for Plotly Dash apps
MIT License
130 stars 22 forks source link

Unable to achieve synchronized pane dragging #10

Open NijanJ opened 1 year ago

NijanJ commented 1 year ago

Description: I'm working on a project that involves multiple panes, and I'm facing an issue with achieving synchronized dragging behavior. Currently, when I drag one pane, it doesn't affect the dragging of the other pane. I'm seeking assistance in resolving this problem.

app.layout = html.Div([ html.H1(f'{Ticker}'), html.Div(className='container', children=[ html.Div(className='two', children=Graph_Plate1), html.Div(className='two', children=Graph_Plate2), ]) ])

Expected Behavior: I want the panes to be synchronized, so that dragging one pane automatically drags the other pane as well. For example, if I drag Graph_Plate1, I expect Graph_Plate2 to move simultaneously.

Any guidance or suggestions to achieve this synchronized pane dragging functionality would be greatly appreciated.

Thank you!