From 26696b77b7feda4ac7406d014d06f282a083b4a5 2012-11-27 11:32:28 From: Tero Ahola Date: 2012-11-27 11:32:28 Subject: [PATCH] Fixed a bug with axis titles in QML F1 Legends demo --- diff --git a/demos/qmlf1legends/qml/qmlf1legends/main.qml b/demos/qmlf1legends/qml/qmlf1legends/main.qml index d8a937a..72f6284 100644 --- a/demos/qmlf1legends/qml/qmlf1legends/main.qml +++ b/demos/qmlf1legends/qml/qmlf1legends/main.qml @@ -66,8 +66,8 @@ Rectangle { chartView.axisY().min = 0; chartView.axisY().max = 250; chartView.axisY().tickCount = 6; - chartView.axisY().title = "speed (kph)"; - chartView.axisX().title = "speed trap"; + chartView.axisY().titleText = "speed (kph)"; + chartView.axisX().titleText = "speed trap"; chartView.axisX().labelFormat = "%.0f"; } lineSeries.append(speedsXml.get(currentIndex).speedTrap, speedsXml.get(currentIndex).speed);