I tried to update the initial values of the pie chart using below code
graphView.data = newDatagraphView.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.
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.