Skip to content

Commit

Permalink
fixed qml example
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Sep 5, 2018
1 parent 5e1df29 commit d6c0899
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/app/qgsattributesformproperties.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit d6c0899

Please sign in to comment.