From 155ce5be026b93e1e329d050709b03773a32ec14 Mon Sep 17 00:00:00 2001 From: Alberto Date: Sat, 8 Apr 2017 22:58:58 +0200 Subject: [PATCH] Font size bar chart (#645) Increas font size bar chart small fix that improves the readability of the values on bar charts --- .../activities/charts/AbstractWeekChartFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractWeekChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractWeekChartFragment.java index 0dfef9b8..978826b0 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractWeekChartFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractWeekChartFragment.java @@ -115,6 +115,7 @@ public abstract class AbstractWeekChartFragment extends AbstractChartFragment { BarData barData = new BarData(set); barData.setValueTextColor(Color.GRAY); //prevent tearing other graph elements with the black text. Another approach would be to hide the values cmpletely with data.setDrawValues(false); + barData.setValueTextSize(10f); LimitLine target = new LimitLine(mTargetValue); barChart.getAxisLeft().removeAllLimitLines();