Enhancements:

- Added the `screen` parameter to `Chart`, allowing for monitor selection. This should be an index from 0 (0 = primary monitor, 1=  second monitor, etc.)
- `vertical_span` method, allowing for vertical lines/spans to be drawn across the chart.
- `set_visible_range` method, which will set the visible range of the chart based on two given dates.
- `resize` method, which resizes the chart to the given size.
- `sync` will now sync both charts, regardless of which one is scrolled/zoomed.
This commit is contained in:
louisnw
2023-08-31 21:25:00 +01:00
parent 769fd8ac0a
commit a7c1dc8a30
11 changed files with 191 additions and 69 deletions

View File

@ -12,7 +12,7 @@ ___
```{py:function} set(data: pd.DataFrame)
```{py:method} set(data: pd.DataFrame)
Sets the data for the line.
@ -25,7 +25,7 @@ ___
```{py:function} update(series: pd.Series)
```{py:method} update(series: pd.Series)
Updates the data for the line.
@ -36,7 +36,7 @@ This should be given as a Series object, with labels akin to the `line.set()` fu
___
```{py:function} line.delete()
```{py:method} line.delete()
Irreversibly deletes the line.