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

Removing all values from chart legend breaks redraw #2392

Open
ada-x64 opened this issue Oct 13, 2023 · 0 comments
Open

Removing all values from chart legend breaks redraw #2392

ada-x64 opened this issue Oct 13, 2023 · 0 comments
Labels
bug Concrete, reproducible bugs JS

Comments

@ada-x64
Copy link
Contributor

ada-x64 commented Oct 13, 2023

Bug Report

Steps to Reproduce:

  1. Open an X/Y Scatter chart (I used examples/blocks/editable)
  2. Split by a string
  3. Disable all the values
  4. Re-enable the values

Expected Result:

Chart returns to previous state.

Actual Result:

In browser: Items get shoved into the top-left corner and will not move until the values are recalculated.
In jupyterlab: Items return to their proper places, though it takes a few clicks.

Environment:

MacOS M2 on master in Chrome

Additional Context:

I also tested this on top of #2373. In that PR clicking the symbols does nothing :)
Here are some videos:

Screen.Recording.2023-10-13.at.2.55.00.PM.mov

You can see the multiple-click issue here when the legend flashes:
https://github.com/finos/perspective/assets/41482263/efa9feaf-9766-48ba-906e-8fedf8da028e

@timkpaine timkpaine added bug Concrete, reproducible bugs JS labels Oct 31, 2023
@texodus texodus changed the title X/Y Scatter - Split-by String Legend hideKeys Weirdness Removing all values from chart legend breaks redraw Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs JS
Projects
None yet
Development

No branches or pull requests

2 participants