aboutsummaryrefslogtreecommitdiff
path: root/src/main.qml
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-07-01 00:49:57 +0100
committerArseniy Movshev <dodoradio@outlook.com>2023-07-01 01:29:18 +0100
commit7038315f5f4df4e53fd065d5253a5d4cf81f0b81 (patch)
tree012d7cbd70f47795637da3a3584c47fdf39e7a73 /src/main.qml
parent4f86486364011a7693ff621d1529270be3b0cc84 (diff)
Add steps goal line indicator to steps graph
the move of loggersettings into main is just done so we don't have a duplicate, since we now need it in main.
Diffstat (limited to 'src/main.qml')
-rw-r--r--src/main.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.qml b/src/main.qml
index 44af46e..e59ed82 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -31,6 +31,10 @@ Application {
property var weekday: ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
+ LoggerSettings{
+ id: loggerSettings
+ }
+
LayerStack {
id: pageStack
@@ -107,6 +111,7 @@ Application {
console.log(maxValue,divisionsInterval,divisionsCount)
dataLoadingDone()
}
+ indicatorLineHeight: loggerSettings.stepGoalEnabled ? loggerSettings.stepGoalTarget : 0
}
Item { width: parent.width; height: parent.width*0.1}