Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #8928 from signedav/newbranch_qgis
Use valueAxis in QML-Widget example
  • Loading branch information
m-kuhn committed Jan 21, 2019
2 parents 49cb397 + e841666 commit 1253707
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/qgsattributesformproperties.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit 1253707

Please sign in to comment.