How can I disable the dragging gesture in a PieChart
. I want the chart to be like a static image.
If you want to disable only the dragging gesture, you can now use
pieChart.setRotationEnabled(false);
As seen here.
Try chart.setTouchEnabled(false);
More details can be found here.
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