mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-01 06:20:33 +02:00
remove option to enable/disable y-axis otherwise graph auto scale won't work
This commit is contained in:
@@ -147,8 +147,8 @@ public class ChartMeasurementView extends LineChart {
|
||||
getLegend().setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER);
|
||||
getLegend().setTextColor(ColorUtil.getTextColor(getContext()));
|
||||
getDescription().setEnabled(false);
|
||||
getAxisLeft().setEnabled(prefs.getBoolean("yaxisEnable", false));
|
||||
getAxisRight().setEnabled(prefs.getBoolean("yaxisEnable", false));
|
||||
getAxisLeft().setEnabled(true);
|
||||
getAxisRight().setEnabled(true);
|
||||
getAxisLeft().setTextColor(ColorUtil.getTextColor(getContext()));
|
||||
getAxisRight().setTextColor(ColorUtil.getTextColor(getContext()));
|
||||
getXAxis().setPosition(XAxis.XAxisPosition.BOTTOM);
|
||||
|
@@ -6,12 +6,6 @@
|
||||
android:summaryOff="@string/info_is_not_visible"
|
||||
android:summaryOn="@string/info_is_visible"
|
||||
android:title="@string/label_enable_legend" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="yaxisEnable"
|
||||
android:summaryOff="@string/info_is_not_visible"
|
||||
android:summaryOn="@string/info_is_visible"
|
||||
android:title="@string/label_enable_yaxis" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="labelsEnable"
|
||||
|
Reference in New Issue
Block a user