mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-16 13:44:26 +02:00
set trendline default value to false
This commit is contained in:
@@ -388,7 +388,7 @@ public class ChartMeasurementView extends LineChart {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prefs.getBoolean("trendLine", true)) {
|
if (prefs.getBoolean("trendLine", false)) {
|
||||||
addTrendLine(lineDataSets);
|
addTrendLine(lineDataSets);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -423,7 +423,7 @@ public class ChartMeasurementView extends LineChart {
|
|||||||
measurementLine.setDrawCircles(prefs.getBoolean("pointsEnable", true));
|
measurementLine.setDrawCircles(prefs.getBoolean("pointsEnable", true));
|
||||||
measurementLine.setDrawValues(prefs.getBoolean("labelsEnable", false));
|
measurementLine.setDrawValues(prefs.getBoolean("labelsEnable", false));
|
||||||
measurementLine.setMode(LineDataSet.Mode.HORIZONTAL_BEZIER);
|
measurementLine.setMode(LineDataSet.Mode.HORIZONTAL_BEZIER);
|
||||||
if (prefs.getBoolean("trendLine", true)) {
|
if (prefs.getBoolean("trendLine", false)) {
|
||||||
// show only data point if trend line is enabled
|
// show only data point if trend line is enabled
|
||||||
measurementLine.enableDashedLine(0, 1, 0);
|
measurementLine.enableDashedLine(0, 1, 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user