##// END OF EJS Templates
fixes ultimate qmlcustommodel
Michal Klocek -
r1629:10e9f6a97982
parent child
Show More
@@ -38,6 +38,11 Rectangle {
38 38 }
39 39
40 40 ValuesAxis {
41 id: xAxis
42 min: 0
43 max: 6.5
44 }
45 ValuesAxis {
41 46 id: yAxis
42 47 min: 0
43 48 max: 60
@@ -164,10 +169,21 Rectangle {
164 169 //![3]
165 170
166 171 Component.onCompleted: {
167 createDefaultAxes();
168 172 setAxisX(categoryAxis,myBarSeries)
173 setAxisX(xAxis,lineSeries1)
174 setAxisX(xAxis,lineSeries2)
175 setAxisX(xAxis,lineSeries3)
176 setAxisX(xAxis,lineSeries4)
177 setAxisX(xAxis,lineSeries5)
178 setAxisY(yAxis,myBarSeries)
179 setAxisY(yAxis,lineSeries1)
180 setAxisY(yAxis,lineSeries2)
181 setAxisY(yAxis,lineSeries3)
182 setAxisY(yAxis,lineSeries4)
183 setAxisY(yAxis,lineSeries5)
169 184 categoryAxis.min = "2007"
170 185 categoryAxis.max = "2014"
186 categoryAxis.visible = true;
171 187 }
172 188 }
173 189 }
General Comments 0
You need to be logged in to leave comments. Login now