summaryrefslogtreecommitdiff
path: root/src/graphs/StepsLineGraph.qml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/graphs/StepsLineGraph.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphs/StepsLineGraph.qml b/src/graphs/StepsLineGraph.qml
index c654901..ddfcf5f 100644
--- a/src/graphs/StepsLineGraph.qml
+++ b/src/graphs/StepsLineGraph.qml
@@ -33,7 +33,9 @@ Item {
Component.onCompleted: {
stepsGraph.loadGraphData(stepsDataLoader.getDataFromTo(startTime,endTime))
}
- StepsDataLoader { id: stepsDataLoader }
+ StepsDataLoader { id: stepsDataLoader
+ onDataChanged: stepsGraph.loadGraphData(getDataFromTo(startTime,endTime))
+ }
VerticalLabels { // labels column
id: markerParent
width: parent.width/8