summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.qml')
-rw-r--r--tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.qml b/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.qml
index c0d1b443..eab84f71 100644
--- a/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.qml
+++ b/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalPercentBarChart.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(
"horizontalPercentBarSeries.onLabelsPositionChanged: "
+ series.labelsPosition);
+ onPressed: console.log("horizontalPercentBarSeries.onPressed: " + barset + " " + index);
+ onReleased: console.log("horizontalPercentBarSeries.onReleased: " + barset + " " + index);
+ onDoubleClicked: console.log("horizontalPercentBarSeries.onDoubleClicked: " + barset + " " + index);
function changeLabelsPosition() {
if (labelsPosition === BarSeries.LabelsCenter)