Skip to content

Commit d6c0899

Browse files
committed
fixed qml example
1 parent 5e1df29 commit d6c0899

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/app/qgsattributesformproperties.cpp

+12-11
Original file line numberDiff line numberDiff line change
@@ -1188,18 +1188,19 @@ void DnDTree::onItemDoubleClicked( QTreeWidgetItem *item, int column )
11881188
"import QtCharts 2.0\n"
11891189
"\n"
11901190
"ChartView {\n"
1191-
"title: \"Bar series\"\n"
1192-
"width: 600\n"
1193-
"height:400\n"
1194-
"legend.alignment: Qt.AlignBottom\n"
1195-
"antialiasing: true\n"
1191+
" title: \"Bar series\"\n"
1192+
" width: 600\n"
1193+
" height:400\n"
1194+
" legend.alignment: Qt.AlignBottom\n"
1195+
" antialiasing: true\n"
11961196
"\n"
1197-
"BarSeries {\n"
1198-
"id: mySeries\n"
1199-
"axisX: BarCategoryAxis { categories: [\"2007\", \"2008\", \"2009\", \"2010\", \"2011\", \"2012\" ] }\n"
1200-
"BarSet { label: \"Bob\"; values: [2, 2, 3, 4, 5, 6] }\n"
1201-
"BarSet { label: \"Susan\"; values: [5, 1, 2, 4, 1, 7] }\n"
1202-
"BarSet { label: \"James\"; values: [3, 5, 8, 13, 5, 8] }\n"
1197+
" BarSeries {\n"
1198+
" id: mySeries\n"
1199+
" axisX: BarCategoryAxis { categories: [\"2007\", \"2008\", \"2009\", \"2010\", \"2011\", \"2012\" ] }\n"
1200+
" BarSet { label: \"Bob\"; values: [2, 2, 3, 4, 5, 6] }\n"
1201+
" BarSet { label: \"Susan\"; values: [5, 1, 2, 4, 1, 7] }\n"
1202+
" BarSet { label: \"James\"; values: [3, 5, 8, 13, 5, 8] }\n"
1203+
" }\n"
12031204
"}\n" ) );
12041205
break;
12051206
}

0 commit comments

Comments
 (0)