mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-30 00:04:11 -04:00
fixed qml example
This commit is contained in:
parent
5e1df29066
commit
d6c0899828
@ -1188,18 +1188,19 @@ void DnDTree::onItemDoubleClicked( QTreeWidgetItem *item, int column )
|
||||
"import QtCharts 2.0\n"
|
||||
"\n"
|
||||
"ChartView {\n"
|
||||
"title: \"Bar series\"\n"
|
||||
"width: 600\n"
|
||||
"height:400\n"
|
||||
"legend.alignment: Qt.AlignBottom\n"
|
||||
"antialiasing: true\n"
|
||||
" title: \"Bar series\"\n"
|
||||
" width: 600\n"
|
||||
" height:400\n"
|
||||
" legend.alignment: Qt.AlignBottom\n"
|
||||
" antialiasing: true\n"
|
||||
"\n"
|
||||
"BarSeries {\n"
|
||||
"id: mySeries\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"
|
||||
"BarSet { label: \"James\"; values: [3, 5, 8, 13, 5, 8] }\n"
|
||||
" BarSeries {\n"
|
||||
" id: mySeries\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"
|
||||
" BarSet { label: \"James\"; values: [3, 5, 8, 13, 5, 8] }\n"
|
||||
" }\n"
|
||||
"}\n" ) );
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user