Enhancements & Bug Fixes
- Added the `color_based_on_candle` parameter to the legend, which will color the percentage change based on the candle color underneath the crosshair. (#210) - Fixed a bug which prevented the legend from turning off. (#216)
This commit is contained in:
@ -273,7 +273,7 @@ ___
|
||||
|
||||
|
||||
|
||||
```{py:method} legend(visible: bool, ohlc: bool, percent: bool, lines: bool, color: COLOR, font_size: int, font_family: str, text: str)
|
||||
```{py:method} legend(visible: bool, ohlc: bool, percent: bool, lines: bool, color: COLOR, font_size: int, font_family: str, text: str, color_based_on_candle: bool)
|
||||
|
||||
Configures the legend of the chart.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user