summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources/base/AccelChart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/AccelChart.qml')
-rw-r--r--tradeshow/iot-sensortag/resources/base/AccelChart.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/AccelChart.qml b/tradeshow/iot-sensortag/resources/base/AccelChart.qml
index 9beca22..92f8b50 100644
--- a/tradeshow/iot-sensortag/resources/base/AccelChart.qml
+++ b/tradeshow/iot-sensortag/resources/base/AccelChart.qml
@@ -97,9 +97,7 @@ BaseChart {
Text {
id: accelMainText
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.bottom: parent.verticalCenter
- anchors.bottomMargin: -12
+ anchors.centerIn: parent
text: (index == 0) ? acceXValue : ((index == 1) ? acceYValue : acceZValue)
color: "white"
}