Replies: 1 comment 3 replies
-
I see why there's two groups of segments. The ParentSize component renders twice. Once with a width/height of 0, and another time with the dimensions of the parent element. I remember the visx example having an escape hatch of |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're using visx as our base charting library. While creating a DonutChart by following their example, I'm not sure the usage of useTransition is correct. The example seems to be for v8, but we're using v9.
The behavior I'm expecting is for all the segments to animate in clockwise. What I see is that something starts animating in, disappears, then more segments animate in filling the donut. That little bit that animates first is real quick, hard to see, but it's there. I'd like to know:
I have a codesandbox that isolates our code so you can see what's going on (not all of it work yet, like hovering/clicking).
Beta Was this translation helpful? Give feedback.
All reactions