[v9.5.x] PieChart: Show long labels properly (#66083)
PieChart: Show long labels properly (#65699)
Fix label hidden when overflowing
(cherry picked from commit 91a61f1e0d)
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
This commit is contained in:
co-authored by
Victor Marin
parent
a6a9e4e0ed
commit
7104dc3fef
@@ -84,7 +84,7 @@ export const PieChart = ({
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<svg width={layout.size} height={layout.size} ref={containerRef}>
|
||||
<svg width={layout.size} height={layout.size} ref={containerRef} style={{ overflow: 'visible' }}>
|
||||
<Group top={layout.position} left={layout.position}>
|
||||
{colors.map((color) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user