##// END OF EJS Templates
Fixed a bug in horizontal bar qml testers
Tero Ahola -
r1915:f0273809c626
parent child
Show More
@@ -30,11 +30,10 ChartView {
30 30
31 31 property variant series: mySeries
32 32
33
34 33 HorizontalBarSeries {
35 34 id: mySeries
36 35 name: "bar"
37 axisX: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
36 axisY: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
38 37 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6]
39 38 onClicked: console.log("barset.onClicked: " + index);
40 39 onHovered: console.log("barset.onHovered: " + status);
@@ -33,8 +33,7 ChartView {
33 33 HorizontalPercentBarSeries {
34 34 id: mySeries
35 35 name: "bar"
36 axisX: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
37
36 axisY: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
38 37 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6]
39 38 onClicked: console.log("barset.onClicked: " + index);
40 39 onHovered: console.log("barset.onHovered: " + status);
@@ -33,7 +33,7 ChartView {
33 33 HorizontalStackedBarSeries {
34 34 id: mySeries
35 35 name: "bar"
36 axisX: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
36 axisY: BarCategoryAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
37 37 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6]
38 38 onClicked: console.log("barset.onClicked: " + index);
39 39 onHovered: console.log("barset.onHovered: " + status);
General Comments 0
You need to be logged in to leave comments. Login now