1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-26 11:56:48 +01:00

Remove description label from Battery chart

This commit is contained in:
vanous 2021-02-27 11:05:16 +01:00
parent 5758c9e564
commit 47d211013c

View File

@ -175,6 +175,7 @@ public class BatteryInfoChartFragment extends AbstractGBFragment {
mChart.getDescription().setTextColor(DESCRIPTION_COLOR); mChart.getDescription().setTextColor(DESCRIPTION_COLOR);
mChart.setTouchEnabled(true); mChart.setTouchEnabled(true);
mChart.getLegend().setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER); mChart.getLegend().setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER);
mChart.getDescription().setEnabled(false);
XAxis x = mChart.getXAxis(); XAxis x = mChart.getXAxis();
x.setDrawLabels(true); x.setDrawLabels(true);