From b974d4b756bd5373f039d20f5740c1247948da26 2012-06-04 11:08:30 From: Tero Ahola Date: 2012-06-04 11:08:30 Subject: [PATCH] Fixed QML chart properties test app legend config --- diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/BarChart.qml b/tests/qmlchartproperties/qml/qmlchartproperties/BarChart.qml index 7eb8bb4..42c4f08 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/BarChart.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/BarChart.qml @@ -25,7 +25,7 @@ ChartView { title: "Bar series" anchors.fill: parent theme: ChartView.ChartThemeLight - legend: ChartView.LegendBottom + legend.alignment: Qt.AlignBottom axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"] property variant series: daSeries diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/GroupedBarChart.qml b/tests/qmlchartproperties/qml/qmlchartproperties/GroupedBarChart.qml index 9f6e70c..7d46712 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/GroupedBarChart.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/GroupedBarChart.qml @@ -25,7 +25,7 @@ ChartView { title: "Grouped bar series" anchors.fill: parent theme: ChartView.ChartThemeLight - legend: ChartView.LegendBottom + legend.alignment: Qt.AlignBottom axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"] property variant series: daSeries diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/PercentBarChart.qml b/tests/qmlchartproperties/qml/qmlchartproperties/PercentBarChart.qml index 6e4f669..763dea9 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/PercentBarChart.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/PercentBarChart.qml @@ -25,7 +25,7 @@ ChartView { title: "Percent bar series" anchors.fill: parent theme: ChartView.ChartThemeLight - legend: ChartView.LegendBottom + legend.alignment: Qt.AlignBottom axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"] property variant series: daSeries diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml b/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml index 2a67015..7331d02 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml @@ -25,7 +25,7 @@ ChartView { title: "Stacked bar series" anchors.fill: parent theme: ChartView.ChartThemeLight - legend: ChartView.LegendBottom + legend.alignment: Qt.AlignBottom axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"] property variant series: daSeries