summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml')
-rw-r--r--tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml b/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml
index 3b94e89d..ab79dc5a 100644
--- a/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml
+++ b/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalStackedBarChart.qml
@@ -50,6 +50,9 @@ ChartView {
onValuesAdded: console.log("barset.onValuesAdded: " + index + ", " + count);
onValuesRemoved: console.log("barset.onValuesRemoved: " + index + ", " + count);
onValueChanged: console.log("barset.onValuesChanged: " + index);
+ onPressed: console.log("barset.onPressed: " + index);
+ onReleased: console.log("barset.onReleased: " + index);
+ onDoubleClicked: console.log("barset.onDoubleClicked: " + index);
}
BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }
@@ -68,6 +71,9 @@ ChartView {
onLabelsPositionChanged: console.log(
"horizontalStackedBarSeries.onLabelsPositionChanged: "
+ series.labelsPosition);
+ onPressed: console.log("horizontalStackedBarSeries.onPressed: " + barset + " " + index);
+ onReleased: console.log("horizontalStackedBarSeries.onReleased: " + barset + " " + index);
+ onDoubleClicked: console.log("horizontalStackedBarSeries.onDoubleClicked: " + barset + " " + index);
function changeLabelsPosition() {
if (labelsPosition === BarSeries.LabelsCenter)