mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Font size bar chart (#645)
Increas font size bar chart small fix that improves the readability of the values on bar charts
This commit is contained in:
parent
2feb3bed47
commit
155ce5be02
@ -115,6 +115,7 @@ public abstract class AbstractWeekChartFragment extends AbstractChartFragment {
|
|||||||
|
|
||||||
BarData barData = new BarData(set);
|
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.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);
|
LimitLine target = new LimitLine(mTargetValue);
|
||||||
barChart.getAxisLeft().removeAllLimitLines();
|
barChart.getAxisLeft().removeAllLimitLines();
|
||||||
|
Loading…
Reference in New Issue
Block a user