Skip to content
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

Pie chart update data set #5181

Open
1 task done
uditha2233 opened this issue Jul 5, 2024 · 0 comments
Open
1 task done

Pie chart update data set #5181

uditha2233 opened this issue Jul 5, 2024 · 0 comments

Comments

@uditha2233
Copy link

uditha2233 commented Jul 5, 2024

What did you do?

I tried to update the initial values of the pie chart using below code
graphView.data = newData
graphView.animate(yAxisDuration: 1)
graphView.notifyDataSetChanged()

What did you expect to happen?

Expected to happen a smooth animation on the updated chart slices.

What happened instead?

Entire pie chart redrawn instead of updating only the slices I have updated. I just want to update only the changed slices not the entire chart. Please help to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant