Skip to content
Permalink
Browse files

use valueAxis in qml example

fixes #20472
  • Loading branch information
signedav committed Jan 21, 2019
1 parent f1be811 commit e8416661a4eb0e80edd6c9a112ffbff253d5e3ae
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/app/qgsattributesformproperties.cpp
@@ -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"

0 comments on commit e841666

Please sign in to comment.
You can’t perform that action at this time.