how to get the label onValueSelected in Pie chart
@Override
public void onValueSelected(Entry e, Highlight h) {
PieEntry pe = (PieEntry) e;
pe.getLabel();
}
thanks much the solution works and is there any ways to get the selected pie slice color?
Most helpful comment
@Override
public void onValueSelected(Entry e, Highlight h) {
}