Open pc-1998 opened 3 years ago
Also experiencing this issue, is there a fix?
are you using a Text comp from svg package? use that instead
This is my code and it worked when I added display: 'none' to the style
<Text
x={pieCentroid[0]}
y={pieCentroid[1]}
fill="#ffffff"
fontSize={14}
style={{
color: '#ffffff',
display: 'none', // This is the code
}}
>
What is the problem?
When including a Text in PieChart, the text appears twice.
What platform?
react-native version:
0.63.4
react-native-svg-charts version:5.4.0
react-native-svg version:12.1.1
Code to reproduce