-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ improve hover state of facet legends (#4285)
Two very minor (categorical) facet legend improvements: - If a facet legend is hovered, then non-hovered bins are muted by reducing their opacity - If a facet legend bin is hovered that is not plotted by a particular facet, then all lines in that facets are muted - for example, hover 'Japan' in this chart: [live](https://ourworldindata.org/grapher/fossil-fuel-price-index?facet=metric&country=Brent~Northwest+Europe~UK+NBP~COL~IDN~JPN~Dubai) / [staging](http://staging-site-improve-facet-legends/grapher/fossil-fuel-price-index?facet=metric&country=Brent~Northwest+Europe~UK+NBP~COL~IDN~JPN~Dubai)
- Loading branch information
1 parent
17ae4a9
commit 4038fc6
Showing
6 changed files
with
73 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters