summaryrefslogtreecommitdiffstats
path: root/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
diff options
context:
space:
mode:
authorTero Ahola <tero.ahola@digia.com>2012-06-27 13:36:44 +0300
committerTero Ahola <tero.ahola@digia.com>2012-06-27 13:42:48 +0300
commita73a407edc1bf6c907ee2f110a6539732176ea7c (patch)
treedb20b5acdb056ad5a6d3e6f520c2f320014c1d40 /tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
parent07228be889f4e3ed146ae80c079534f3a4f28f2c (diff)
Added value and category axis to QML api
Diffstat (limited to 'tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml')
-rw-r--r--tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml b/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
index a87a1196..9bac0806 100644
--- a/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
+++ b/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
@@ -26,13 +26,13 @@ ChartView {
anchors.fill: parent
theme: ChartView.ChartThemeLight
legend.alignment: Qt.AlignBottom
- axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"]
property variant series: barSeries
StackedBarSeries {
id: barSeries
name: "bar"
+ axisX: CategoriesAxis { categories: ["2007", "2008", "2009", "2010", "2011", "2012" ] }
BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6]
onClicked: console.log("barset.onClicked: " + index);
onHovered: console.log("barset.onHovered: " + status);