1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

Prevent tearing of the barchart values over other graph elements

This commit is contained in:
Daniele Gobbetti 2015-08-03 18:34:58 +02:00
parent 94b9736a5d
commit c798cd00fe

View File

@ -95,6 +95,7 @@ public class WeekStepsChartFragment extends AbstractChartFragment {
set.setColor(akActivity.color);
BarData data = new BarData(labels, set);
data.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);
LimitLine target = new LimitLine(mTargetSteps);