diff options
author | Titta Heikkala <titta.heikkala@qt.io> | 2017-02-02 07:17:54 +0200 |
---|---|---|
committer | Titta Heikkala <titta.heikkala@qt.io> | 2017-02-02 07:29:04 +0000 |
commit | 71302b3895afc20ef37c62749105991b070b55b3 (patch) | |
tree | 11a05338446abff00d3e41eaf65cfe755f2da244 /tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml | |
parent | 71859115ecb5defd82687a03fbbe56a6bc985255 (diff) |
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml')
-rw-r--r-- | tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml b/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml index 699f537..6e3af9d 100644 --- a/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml +++ b/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml @@ -50,6 +50,7 @@ import QtQuick 2.5 import QtCharts 2.1 import SensorTag.DataProvider 1.0 +import QtGraphicalEffects 1.0 BaseChart { id: magnetHolderRect @@ -87,6 +88,14 @@ BaseChart { magneticSeriesIndex++; } + Glow { + anchors.fill: chartView + radius: 18 + samples: 30 + color: "#15bdff" + source: chartView + } + PolarChartView { id: chartView @@ -110,7 +119,7 @@ BaseChart { labelsVisible: false gridVisible: false min: 0 - max: maxNumOfMagnReadings + 1 + max: maxNumOfMagnReadings tickCount: 2 color: chartColor visible: false |