Redraws the extend when a line is toggled. Currently uses custom add and remove chart functions. Could be added to chart library instead. Resetting extend in case of shared zoom can lead to unexpected behaviour, don't know exactly what would be expected in those cases.
Description
Redraws the extend when a line is toggled. Currently uses custom add and remove chart functions. Could be added to chart library instead. Resetting extend in case of shared zoom can lead to unexpected behaviour, don't know exactly what would be expected in those cases.
Test example (durban): http://localhost:5173/topology/node/viewer_coastal_waves/viewer_coastal_waves_ww3/map/ww3_hs/coordinates/-31.159/31.423
Checklist
rel: new feature
rel: improvement
rel: fixes
rel: ignore
Select torel: ignore
if this pull request fixes a New Feature or Improvement in the coming release. Update related Pull Request.