diff --git a/app/build.gradle b/app/build.gradle index a3031eb9..75a6248b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -68,7 +68,7 @@ dependencies { compile 'com.android.support:design:23.3.0' compile 'com.github.tony19:logback-android-classic:1.1.1-4' compile 'org.slf4j:slf4j-api:1.7.7' - compile 'com.github.PhilJay:MPAndroidChart:v3.0.0' + compile 'com.github.PhilJay:MPAndroidChart:v3.0.1' compile 'com.github.pfichtner:durationformatter:0.1.1' compile 'de.cketti.library.changelog:ckchangelog:1.2.2' compile 'net.e175.klaus:solarpositioning:0.0.9' diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java index e314023d..aafb0680 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java @@ -770,11 +770,6 @@ public abstract class AbstractChartFragment extends AbstractGBFragment { String dateString = annotationDateFormat.format(date); return dateString; } - - @Override - public int getDecimalDigits() { - return 0; - } } protected static class PreformattedXIndexLabelFormatter implements IAxisValueFormatter { @@ -792,11 +787,6 @@ public abstract class AbstractChartFragment extends AbstractGBFragment { } return xLabels.get(index); } - - @Override - public int getDecimalDigits() { - return 0; - } } /** diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/TimestampValueFormatter.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/TimestampValueFormatter.java index 0f4c592c..437330cb 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/TimestampValueFormatter.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/TimestampValueFormatter.java @@ -32,9 +32,4 @@ public class TimestampValueFormatter implements IAxisValueFormatter { String dateString = dateFormat.format(date); return dateString; } - - @Override - public int getDecimalDigits() { - return 0; - } }