mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 21:32:57 +01:00
Remove description label from Battery chart
This commit is contained in:
parent
5758c9e564
commit
47d211013c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user