From ca99ef5d7b001a7aaf4dd8e3e5be1994e565012e Mon Sep 17 00:00:00 2001 From: Tero Ahola Date: Mon, 18 Jun 2012 16:00:16 +0300 Subject: Documenting QML bar series API --- tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/qmlchartproperties/qml/qmlchartproperties/StackedBarChart.qml') 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] } -- cgit v1.2.3