diff options
author | sauimone <samu.uimonen@digia.com> | 2012-12-17 14:11:16 +0200 |
---|---|---|
committer | sauimone <samu.uimonen@digia.com> | 2012-12-17 14:11:16 +0200 |
commit | 71e82ffadcdead6da651dad9c955b09a78f9d92a (patch) | |
tree | 7af5497e677ff8f82a477c75c0a82b3bb872f5d6 /demos | |
parent | 37aa57c82a3a115ff1a58cb04f9dc2f3c1c06d45 (diff) |
changing order of series in qmlweather example. This is a workaround to make axis values right. Should not be order dependant, like it is now
Diffstat (limited to 'demos')
-rw-r--r-- | demos/qmlweather/qml/qmlweather/main.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/demos/qmlweather/qml/qmlweather/main.qml b/demos/qmlweather/qml/qmlweather/main.qml index db7b5f87..5153e264 100644 --- a/demos/qmlweather/qml/qmlweather/main.qml +++ b/demos/qmlweather/qml/qmlweather/main.qml @@ -53,16 +53,6 @@ Rectangle { titleText: "Rainfall [mm]" } - BarSeries { - id: myBarSeries - axisX: barCategoriesAxis - axisYRight: valueAxisY2 - BarSet { - id: rainfallSet - label: "Rainfall" - } - } - ValueAxis { id: valueAxisX // Hide the value axis; it is only used to map the line series to bar categories axis @@ -91,6 +81,16 @@ Rectangle { axisY: valueAxisY name: "Min. temperature" } + + BarSeries { + id: myBarSeries + axisX: barCategoriesAxis + axisYRight: valueAxisY2 + BarSet { + id: rainfallSet + label: "Rainfall" + } + } //![2] } |