Skip to content
Permalink
Browse files

fixed qml example

  • Loading branch information
signedav committed Sep 5, 2018
1 parent 5e1df29 commit d6c08998287e99d9eac617d47cf124f3cb087682
Showing with 12 additions and 11 deletions.
  1. +12 −11 src/app/qgsattributesformproperties.cpp
@@ -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;
}

0 comments on commit d6c0899

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