MPAndroidChart-Realm icon indicating copy to clipboard operation
MPAndroidChart-Realm copied to clipboard

AxisValueFormatter class not found

Open DanChaltiel opened this issue 6 years ago • 2 comments

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 ?

DanChaltiel avatar Jul 10 '17 06:07 DanChaltiel

Yeah I don't find it either. And the tutorial doesn't event explain where to use that formatter anywhere in the code.

subsub avatar Dec 08 '17 03:12 subsub

Hi guys, i am having the same issue and wondering if you guys found any solution?

hlen56 avatar Feb 06 '20 23:02 hlen56