Closed ChrisHSandN closed 3 years ago
All 4 circles should transition to cx: 100
cx: 100
The circle with style=cx: 0 does not transition to the expected cx: 100 location.
style=cx: 0
My best guess is this is due to the browser automatically converting cx: 0 into cx: 0px
cx: 0
cx: 0px
If you use CSS, you must specify units.
.style('cx', datum => `${datum.cx}px`) .style('cy', datum => `${datum.cy}px`);
Steps to replicate:
Expected Behaviour
All 4 circles should transition to
cx: 100
Actual Behaviour
The circle with
style=cx: 0
does not transition to the expectedcx: 100
location.My best guess is this is due to the browser automatically converting
cx: 0
intocx: 0px