Skip to content

Commit d069e06

Browse files
committed
Switch all uses of origin/rotation to transform
Signed-off-by: Rabbl <root@rabbldating.com>
1 parent 6aacf57 commit d069e06

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/AbstractChart.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ class AbstractChart<
337337

338338
return (
339339
<Text
340-
origin={`${x}, ${y}`}
341-
rotation={verticalLabelRotation}
340+
transform={`rotate(${verticalLabelRotation}, ${x}, ${y})`}
342341
key={`vertical-label-${i}-${label}`}
343342
x={x}
344343
y={y}

0 commit comments

Comments
 (0)