From 9ba4447a1cb2cf4b5d16a604012ddbb0a04e0328 Mon Sep 17 00:00:00 2001 From: Titta Heikkala Date: Tue, 14 Feb 2017 10:44:51 +0200 Subject: iot-sensortag: Use OpenGL with all charts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gyro and MAgnetometer charts are updated to use OpenGL for series. Change-Id: Ib4f7e3c7e4bdf5015484f3849cc99ad9c1490f5f Reviewed-by: Otto Ryynänen --- tradeshow/iot-sensortag/resources/base/GyroChart.qml | 3 +++ tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'tradeshow/iot-sensortag/resources') diff --git a/tradeshow/iot-sensortag/resources/base/GyroChart.qml b/tradeshow/iot-sensortag/resources/base/GyroChart.qml index 3faf879..30aba64 100644 --- a/tradeshow/iot-sensortag/resources/base/GyroChart.qml +++ b/tradeshow/iot-sensortag/resources/base/GyroChart.qml @@ -140,6 +140,7 @@ BaseChart { axisY: valueAxisY color: xColor name: "Gyro X" + useOpenGL: true } SplineSeries { id: gyroSeriesY @@ -147,6 +148,7 @@ BaseChart { axisY: valueAxisY color: yColor name: "Gyro Y" + useOpenGL: true } SplineSeries { id: gyroSeriesZ @@ -154,6 +156,7 @@ BaseChart { axisY: valueAxisY color: zColor name: "Gyro Z" + useOpenGL: true } } diff --git a/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml b/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml index 05919b9..6c4ba79 100644 --- a/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml +++ b/tradeshow/iot-sensortag/resources/base/MagnetometerChart.qml @@ -141,6 +141,7 @@ BaseChart { axisY: valueAxisY color: xColor name: "Magnet X" + useOpenGL: true } SplineSeries { id: magnSeriesY @@ -148,6 +149,7 @@ BaseChart { axisY: valueAxisY color: yColor name: "Magnet Y" + useOpenGL: true } SplineSeries { id: magnSeriesZ @@ -155,6 +157,7 @@ BaseChart { axisY: valueAxisY color: zColor name: "Magnet Z" + useOpenGL: true } } -- cgit v1.2.3