mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-18 05:17:08 +01:00
Prevent tearing of the barchart values over other graph elements
This commit is contained in:
parent
94b9736a5d
commit
c798cd00fe
@ -95,6 +95,7 @@ public class WeekStepsChartFragment extends AbstractChartFragment {
|
|||||||
set.setColor(akActivity.color);
|
set.setColor(akActivity.color);
|
||||||
|
|
||||||
BarData data = new BarData(labels, set);
|
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);
|
LimitLine target = new LimitLine(mTargetSteps);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user