mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Prevent tearing of the barchart values over other graph elements
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user