mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Merge pull request #8928 from signedav/newbranch_qgis
Use valueAxis in QML-Widget example
This commit is contained in:
		
						commit
						1253707337
					
				@ -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"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user