louisnw01 / lightweight-charts-python

Python framework for TradingView's Lightweight Charts JavaScript library.
MIT License
1.05k stars 194 forks source link

Table Scroll doesn't happen #432

Open Aags26 opened 1 month ago

Aags26 commented 1 month ago

Question

Table Scroll doesn't happen. Used to scroll before updating the local version of the library.

Code example

chart.create_table(
                width=0.3,
                height=1,
                headings=('Symbol', 'Trades', 'PF', 'Return', 'CAGR'),
                widths=(0.2, 0.2, 0.2, 0.2, 0.2),
                alignments=('center', 'center', 'center', 'center', 'center'),
                position='left',
                func=lambda t: on_row_click(chart, line, t)
            )

# Table scroll doesn't happen with these parameters. By adding a draggable=True param, however, table scroll does happen.
fattymango commented 1 month ago

Having the same issue, the scroll will work if draggable=True.