Bug on the pie demo page
I was browsing and stumbled upon a bug.
https://github.com/ffoodd/chaarts/assets/1280069/540b508b-1ae7-4296-abe1-beedc6b637c9
Can't see and reach the HTML bit with my mouse.
Also the tooltips on the sides are cropped but I'm guessing this is a size/overflow detail.
EDIT: Forgot to specify my setup. :p Firefox v124 MacOS 14.4.1
Thanks, I reproduce it on Ubuntu too. Not quite sure what's going on though :D
@ffoodd I believe in you! :D
Found it!
7th position's first value was incorrectly always 0% (used for values between 75% and 100%).
It needed to be clamped between 0% and the 50-75% value if in this range—which is forced as max in clamp() if value was less than 75.
Commit might be clearer :D