diff options
Diffstat (limited to 'tests/quick2chartproperties/qml/quick2chartproperties/AreaEditor.qml')
-rw-r--r-- | tests/quick2chartproperties/qml/quick2chartproperties/AreaEditor.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/quick2chartproperties/qml/quick2chartproperties/AreaEditor.qml b/tests/quick2chartproperties/qml/quick2chartproperties/AreaEditor.qml index 249c7c28..168dc957 100644 --- a/tests/quick2chartproperties/qml/quick2chartproperties/AreaEditor.qml +++ b/tests/quick2chartproperties/qml/quick2chartproperties/AreaEditor.qml @@ -55,6 +55,32 @@ Flow { onClicked: series.borderWidth -= 0.5; } Button { + text: "point labels visible" + onClicked: series.pointLabelsVisible = !series.pointLabelsVisible; + } + Button { + text: "point labels format" + onClicked: { + if (series.pointLabelsFormat === "@xPoint, @yPoint") + series.pointLabelsFormat = "(@xPoint)" + else + series.pointLabelsFormat = "@xPoint, @yPoint" + } + } + Button { + text: "point labels font" + onClicked: { + if (series.pointLabelsFont.family === "Times") + series.pointLabelsFont.family = "Courier"; + else + series.pointLabelsFont.family = "Times"; + } + } + Button { + text: "point labels color" + onClicked: series.pointLabelsColor = main.nextColor(); + } + Button { id: upperButton text: "upper series" unpressedColor: "#79bd8f" |