Abhinandan-Kushwaha / react-native-gifted-charts

The most complete library for Bar, Line, Area, Pie, Donut, Stacked Bar and Population Pyramid charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.
https://www.npmjs.com/package/react-native-gifted-charts
MIT License
772 stars 152 forks source link

PieChart Error : UIView base class does not support pointerEvent value: box-none #628

Closed PaoNapats closed 5 months ago

PaoNapats commented 5 months ago

Hi, I used library version 1.4.9. RN version 0.72.4 and I still got this error "Error : UIView base class does not support pointerEvent value: box-none". It happened when I was using PieChart. When I was using LineChart, it was working normally

The pie code is: <PieChart onPress={() => {}} donut textColor="black" radius={pieRadius} textSize={20} textBackgroundRadius={26} data={pieData} strokeWidth={4} strokeColor={strokeColor} />

Screenshot 2567-05-07 at 12 13 18
PaoNapats commented 5 months ago

I'm just upgrade react-native version to 0.73.6 and this problem is gone!