-
Notifications
You must be signed in to change notification settings - Fork 199
[Bugfix] Pie chart flicker on changing selected section #1149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[Bugfix] Pie chart flicker on changing selected section #1149
Conversation
|
I made a local patch to address this as a workaround in the meantime, in case anyone else is experiencing this: |
|
Thanks for this valuable contribution @sam1463 |
|
Hi @sam1463 dualText.movCode- const App = () => {
const filteredData = [
{
label: '07:30',
value: 21,
},
{
label: '09:30',
value: 21,
},
{
label: '11:30',
value: 16,
},
{
label: '01:30',
value: 3,
},
{
label: '03:30',
value: 3,
},
{
label: '05:30',
value: 2,
},
{
label: '07:30',
value: 15,
},
];
return (
<View style={styles.container}>
<PieChart
data={filteredData}
showText
showValuesAsLabels
donut
focusOnPress
/>
</View>
);
} |
|
Oh good point. I think that's a result of my deletion in line 238, which was completely unnecessary. I'll revert that change. |
|
@Abhinandan-Kushwaha can you take another look when you have a chance? |
|
sure @sam1463 i will review this by this weekend |
Fixes #1148
Before:
https://github.com/user-attachments/assets/32644392-bd6b-43a0-be72-7d524241639f
After:
https://github.com/user-attachments/assets/49aa26b1-55dd-46d0-baf4-54f7722fd34e