summaryrefslogtreecommitdiffstats
path: root/examples/qmlbarchart/qml
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-07-05 11:34:47 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-07-05 12:52:57 +0300
commit03276f3187bc58162e335b9a5739c1631344fa84 (patch)
treed491698251a0320fd2f8eadf8cd262211baebb59 /examples/qmlbarchart/qml
parent0963cf7feda67225700f4291264e68c9060046f6 (diff)
Miscellaneous fixes
- Widget example now uses default QBarDataProxy directly - Axes store labels in QStringLists instead of vectors - Axes LabelItems as QList<LabelItem *> instead of QVector<LabelItem> This allows better control of when label items are constructed and destructed -> easier to keep track of textures. - Removed label setting from QAbstractDataItem api, it should be replaced with label format setter if we want individual items to have custom labels. - Added functionality to QBarDataItem - Misc bug fixes Change-Id: I01b3a5f3fc4acb8c1a826f19fa2762864430a088 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'examples/qmlbarchart/qml')
-rw-r--r--examples/qmlbarchart/qml/qmlbarchart/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmlbarchart/qml/qmlbarchart/main.qml b/examples/qmlbarchart/qml/qmlbarchart/main.qml
index 28b3326d..748a5241 100644
--- a/examples/qmlbarchart/qml/qmlbarchart/main.qml
+++ b/examples/qmlbarchart/qml/qmlbarchart/main.qml
@@ -125,7 +125,7 @@ Item {
testset1.addRow(testrow1);
testset1.addRow(testrow2);
- testchart.setupSampleSpace(4, 2);
+ testchart.setupSampleSpace(2, 4);
testchart.addDataSet(testset1);
}