@@ -66,8 +66,8 Rectangle { | |||||
66 | chartView.axisY().min = 0; |
|
66 | chartView.axisY().min = 0; | |
67 | chartView.axisY().max = 250; |
|
67 | chartView.axisY().max = 250; | |
68 | chartView.axisY().tickCount = 6; |
|
68 | chartView.axisY().tickCount = 6; | |
69 | chartView.axisY().title = "speed (kph)"; |
|
69 | chartView.axisY().titleText = "speed (kph)"; | |
70 | chartView.axisX().title = "speed trap"; |
|
70 | chartView.axisX().titleText = "speed trap"; | |
71 | chartView.axisX().labelFormat = "%.0f"; |
|
71 | chartView.axisX().labelFormat = "%.0f"; | |
72 | } |
|
72 | } | |
73 | lineSeries.append(speedsXml.get(currentIndex).speedTrap, speedsXml.get(currentIndex).speed); |
|
73 | lineSeries.append(speedsXml.get(currentIndex).speedTrap, speedsXml.get(currentIndex).speed); |
General Comments 0
You need to be logged in to leave comments.
Login now