summaryrefslogtreecommitdiffstats
path: root/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml')
-rw-r--r--tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml b/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml
index 1a4cad6c..439d7f9e 100644
--- a/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml
+++ b/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml
@@ -172,6 +172,19 @@ Row {
onClicked: series.labelsVisible = !series.labelsVisible;
}
Button {
+ text: "labels format"
+ onClicked: {
+ if (series.labelsFormat === "@value")
+ series.labelsFormat = "@value%"
+ else
+ series.labelsFormat = "@value"
+ }
+ }
+ Button {
+ text: "labels position"
+ onClicked: series.changeLabelsPosition();
+ }
+ Button {
text: "set 1 label color"
onClicked: series.at(0).labelColor = main.nextColor();
}