I am looking for a way of forcing the slice of the pie chart to become unselected. It automatically deselects when you click out of the pie chart however I was wondering if there was a way to deselect it within a button action?
I have various buttons which displays filtered versions of the same data and, if a slice is selected when you click a button it remains selected.
Any help would be great.
Thanks
pieChart.highlightValue(nil)
This worked for me.
I am on Charts (3.0.2), Swift 3, XCode 8.3.3.
Hope this helps someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With