summaryrefslogtreecommitdiffstats
path: root/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
diff options
context:
space:
mode:
authorTero Ahola <tero.ahola@digia.com>2012-06-18 16:00:16 +0300
committerTero Ahola <tero.ahola@digia.com>2012-06-18 16:06:43 +0300
commitca99ef5d7b001a7aaf4dd8e3e5be1994e565012e (patch)
treea9b9454503e81a582f84c57b606762265acfd23a /tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
parentf67fcad3d13bfa22c0dab59c297474fdb19c21d0 (diff)
Documenting QML bar series API
Diffstat (limited to 'tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml')
-rw-r--r--tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml b/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
index 0e44f681..aed0047c 100644
--- a/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
+++ b/tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml
@@ -33,6 +33,8 @@ ChartView {
StackedBarSeries {
id: daSeries
name: "bar"
+ onClicked: console.log("onClicked: " + barset + " " + index);
+ onHovered: console.log("onHovered: " + barset + " " + status);
BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6] }
BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }