freyastreamlit / streamlit-lightweight-charts

Streamlit wrapper for lightweight-charts
MIT License
146 stars 31 forks source link

Is it possible to make the crosshair align on multipanel display? #45

Closed xemltil closed 1 week ago

xemltil commented 2 months ago

How would you enable crosshair alignment of multipane from your example?

renderLightweightCharts([ { "chart": chartMultipaneOptions[0], "series": seriesCandlestickChart }, { "chart": chartMultipaneOptions[1], "series": seriesVolumeChart }, { "chart": chartMultipaneOptions[2], "series": seriesMACDchart } ], 'multipane')

freyastreamlit commented 2 months ago

Hi @xemltil

No, but there is an old frozen fork that has a good solution - have a look:

https://github.com/freyastreamlit/streamlit-lightweight-charts-ntf

Best,

Joe Rosa