Open ffoodd opened 5 years ago
Mention to self: in my Paris Web 2020 talk about custom properties (slide 16/19), I implemented transition
s on clip-path()
for radar charts. So the same is doable with radar charts at least, and maybe line charts too.
As mentionned in #44, we may also trick the eyes by animating background
s at some point, since grid
-related properties aren't animatable.
I can't make this work on pie charts for now: @property
is needed to make a custom property animatable (by specifying its type) but Firefox doesn't support this (for now, announced in Nightly ATM) and switching values in mask-image
or clip-path
currently doesn't work as intended in Chromium…
To be tried with other chaarts types!
Animate background-position
for line and column charts, maybe?
Most properties in charts are animatable —
clip-path
, I'm staring at you.There shouldn't be any issue with transition handling (on value change, for example, or on intersectionning viewport).
So I think it should be tried :)