-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plot.qml
57 lines (49 loc) · 1.07 KB
/
Plot.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import QtQuick 2.0
import QtQuick.Controls 2.5
import QtCharts 2.3
Page {
property alias seriesData1: series1
property alias seriesData2: series2
property alias seriesData3: series3
property alias timeAxis: axisX
property alias valAxis: axisY
background: Rectangle{
color:"transparent"
}
//![1]
ChartView {
title: "Display Sensor data"
anchors.fill: parent
legend.visible: true
antialiasing: true
ValueAxis {
id: axisX
min: 0
max: 10
tickCount: 5
}
ValueAxis {
id: axisY
}
SplineSeries {
id: series1
axisX: axisX
axisY: axisY
//Legend: "salam"
}
SplineSeries {
id: series2
axisX: axisX
axisY: axisY
}
SplineSeries {
id: series3
axisX: axisX
axisY: axisY
}
}
}
/*##^## Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/