Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rescale plot when line is toggled #999

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hvangeffen
Copy link
Collaborator

@hvangeffen hvangeffen commented Sep 24, 2024

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

  • Make the title short and concise
  • Select the correct label to include it in the release notes:
    • rel: new feature
    • rel: improvement
    • rel: fixes
    • rel: ignore
      Select to rel: ignore if this pull request fixes a New Feature or Improvement in the coming release. Update related Pull Request.
  • Update documentation.
  • Update tests.

@hvangeffen hvangeffen linked an issue Sep 24, 2024 that may be closed by this pull request
@wkramer wkramer changed the title Rescale plot whe line is toggled Rescale plot when line is toggled Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plot should rescale when chart line is toggled
2 participants