PhilJay / MPAndroidChart-Realm

http://realm.io related features of the MPAndroidChart library.
Apache License 2.0
198 stars 37 forks source link

AxisValueFormatter class not found #10

Open DanChaltiel opened 7 years ago

DanChaltiel commented 7 years ago

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 ?

subsub commented 6 years ago

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

hlen56 commented 4 years ago

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