elastic-charts
elastic-charts copied to clipboard
feat(Legend): change click on item behaviour
Summary
Clicking on a legend item has been improved to isolate a series on first click, show all series on second click. Also, when clicking on a hidden series now will add the selected series into the visible set.
BREAKING CHANGE
The modifier key has been changed to CTRL
(or CMD
on Mac) from SHIFT
. The SHIFT
key will no longer have any effect on click.
Details
A full description of the new behaviour:
First click isolates selected element, then behave according to context (if single element is selected, restore all, otherwise toggle on off).
Checklist
- [x] The proper chart type label has been added (e.g.
:xy
,:partition
) - [x] The proper feature labels have been added (e.g.
:interactions
,:axis
) - [x] Unit tests have been added or updated to match the most common scenarios
buildkite update screenshots
buildkite update screenshots
Now all checks are passing @markov00 . It was a wrong casting in the playwright test.
buildkite update screenshots
buildkite update screenshots
buildkite update screenshots
buildkite update screenshots
buildkite update screenshots
All screenshots are now being checked and resolved with no changes from the main
branch.