Merge pull request #8928 from signedav/newbranch_qgis

Use valueAxis in QML-Widget example
This commit is contained in:
Matthias Kuhn 2019-01-21 23:21:38 +01:00 committed by GitHub
commit 1253707337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1194,9 +1194,15 @@ void DnDTree::onItemDoubleClicked( QTreeWidgetItem *item, int column )
" height:400\n"
" legend.alignment: Qt.AlignBottom\n"
" antialiasing: true\n"
" ValueAxis{\n"
" id: valueAxisY\n"
" min: 0\n"
" max: 15\n"
" }\n"
"\n"
" BarSeries {\n"
" id: mySeries\n"
" axisY: valueAxisY\n"
" axisX: BarCategoryAxis { categories: [\"2007\", \"2008\", \"2009\", \"2010\", \"2011\", \"2012\" ] }\n"
" BarSet { label: \"Bob\"; values: [2, 2, 3, 4, 5, 6] }\n"
" BarSet { label: \"Susan\"; values: [5, 1, 2, 4, 1, 7] }\n"