Legend Focus
Hovering one series dims the rest instead of highlighting one.
Usage
Meant for
Examples
On a Card
Point at a legend item, or tab through them. One series comes forward and the rest step back — the legend badges included, which is what makes it read as a legend interaction rather than as the chart animating on its own. data-wm-active goes on the class while an item is hovered or focused, data-wm-focus on that series and data-wm-muted on the others (the badges are WunderUI Badges); the dimming is a 150 ms transition both ways.
The class is wm wm-legend-focus — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.