diff options
author | Otto Ryynänen <otto.ryynanen@qt.io> | 2017-01-31 15:17:53 +0200 |
---|---|---|
committer | Kari Hautamäki <kari.hautamaki@qt.io> | 2017-02-01 07:54:44 +0000 |
commit | 518c73c59a71911b65ae5d3240b22ea9f5878961 (patch) | |
tree | cccf04cbcc16bad01a6dbbbffc15bdefecbbc1e7 /tradeshow/iot-sensortag/resources/base/GyroChart.qml | |
parent | 4a7c0e5841b2bb69ddaef2c9620c443934d194ee (diff) |
GyroChart and Magnetometerchart grid removal
Removed grids from charts.
changed magnetometer chart type.
Removed old IR Temp from cloud IF.
New signal(s) for Ambient and object temperatures.
Change-Id: If9f215f33197ca1dc03b2a55187464fdb7a05cd9
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/GyroChart.qml')
-rw-r--r-- | tradeshow/iot-sensortag/resources/base/GyroChart.qml | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/GyroChart.qml b/tradeshow/iot-sensortag/resources/base/GyroChart.qml index 37ee21f..91f1911 100644 --- a/tradeshow/iot-sensortag/resources/base/GyroChart.qml +++ b/tradeshow/iot-sensortag/resources/base/GyroChart.qml @@ -97,11 +97,11 @@ BaseChart { anchors.top: parent.top anchors.bottom: parent.bottom - anchors.bottomMargin: 8 + anchors.bottomMargin: 33 anchors.left: parent.left - anchors.leftMargin: -40 + anchors.leftMargin: -20 anchors.right: parent.right - anchors.rightMargin: -28 + anchors.rightMargin: -15 antialiasing: true backgroundColor: "transparent" legend.visible: false @@ -115,10 +115,8 @@ BaseChart { min: 0 max: maxGyroReadings + 1 tickCount: 13 - minorTickCount: 1 color: chartColor - gridLineColor: gridColor - minorGridLineColor: gridColor + visible: false } ValueAxis { @@ -127,32 +125,8 @@ BaseChart { min: 0 max: 360 tickCount: 11 - minorTickCount: 1 color: chartColor - gridLineColor: gridColor - minorGridLineColor: gridColor - } - - Column { - id: col - - property int step: (valueAxisY.max - valueAxisY.min) / (valueAxisY.tickCount - 1) - - spacing: -7 - - y: chartView.plotArea.y - 10 - x: 30 - - Repeater { - model: valueAxisY.tickCount - - Text { - text: valueAxisY.max - index * col.step - horizontalAlignment: Text.AlignRight - width: 50 - color: textColor - } - } + visible: false } ScatterSeries { |