More flexible class-based series toggling

Toggling a class instead of hard-setting the opacity, allows for more flexibility in managing transitions and custom axis behaviour.

It's a small thing but it saved us some workarounds.