Skip to content

Commit

Permalink
use valueAxis in qml example
Browse files Browse the repository at this point in the history
fixes #20472
  • Loading branch information
signedav committed Jan 21, 2019
1 parent f1be811 commit e841666
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/qgsattributesformproperties.cpp
Original file line number Diff line number Diff line change
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 e841666

Please sign in to comment.