MPAndroidChart-Realm
MPAndroidChart-Realm copied to clipboard
AxisValueFormatter class not found
I'm trying to follow the tutorial, but Android Studio cannot import any class named AxisValueFormatter.
The guide stated to write this code :
AxisValueFormatter formatter = new AxisValueFormatter() {
@Override
public String getFormattedValue(float value, AxisBase axis) {
return results.get((int) value).getPlayerName();
}
@Override
public int getDecimalDigits() { return 0; }
};
I tried to search for "AxisValueFormatter" in the MPAndroidChart github the MPAndroidChart github, and indeed I couldn't find this exact class (some classes are close though).
Is this a library bug, a guide error or a fault of mine ?
Yeah I don't find it either. And the tutorial doesn't event explain where to use that formatter
anywhere in the code.
Hi guys, i am having the same issue and wondering if you guys found any solution?