diff options
Diffstat (limited to 'src/graphs/HrGraph.qml')
-rw-r--r-- | src/graphs/HrGraph.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphs/HrGraph.qml b/src/graphs/HrGraph.qml index a3627af..40bd962 100644 --- a/src/graphs/HrGraph.qml +++ b/src/graphs/HrGraph.qml @@ -33,7 +33,9 @@ Item { Component.onCompleted: { hrGraph.loadGraphData(hrDataLoader.getDataFromTo(startTime,endTime)) } - HrDataLoader { id: hrDataLoader } + HrDataLoader { id: hrDataLoader + onDataChanged: hrGraph.loadGraphData(getDataFromTo(startTime,endTime)) + } VerticalLabels { // labels column id: markerParent width: parent.width/8 |