lightweight-charts-python
lightweight-charts-python copied to clipboard
[BUG] Legend Api Update Not Updating
Expected Behavior
When chart.legend (params) is called should update accordingly,
Current Behaviour
Api only updating
- color
- font-family
- font-size
the rest of the params are not having effect on the current object
https://github.com/user-attachments/assets/6f2879fa-1ca5-479b-a46c-9d96459f5472
Reproducible Example
calling lengend()
if chart is not None:
chart.legend(
color=settings["color"],
visible=settings["visible"],
ohlc=settings["ohlc"],
percent=settings["percent"],
lines=settings["lines"],
font_size=settings["font_size"],
font_family=settings["font_family"],
)
Environment
- OS: Windown-s
- Library: v2.0.1