summaryrefslogtreecommitdiffstats
path: root/examples/charts
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2021-02-23 16:09:55 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2021-02-23 16:26:36 +0100
commit4d863fb78b59893d77243ce286917af2668ddb98 (patch)
treea2b85baffc2a59d8277f1f59ef70eabad879e7ea /examples/charts
parenteaf63689403df7f122591795d80ef126b8fb5eaa (diff)
Fix QML ScatterSeries example
The text says "The following QML code shows how to create a chart with two simple scatter series:", so include the 2 series, otherwise looks strange Change-Id: Iab848dff8657a7815b9e12ce8f4ce3d07e14b757 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts')
-rw-r--r--examples/charts/qmlchart/qml/qmlchart/View5.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/qmlchart/qml/qmlchart/View5.qml b/examples/charts/qmlchart/qml/qmlchart/View5.qml
index e67b3067..f84f8612 100644
--- a/examples/charts/qmlchart/qml/qmlchart/View5.qml
+++ b/examples/charts/qmlchart/qml/qmlchart/View5.qml
@@ -53,7 +53,6 @@ Item {
ScatterSeries {
name: "Scatter2"
- //![1]
XYPoint { x: 2.0; y: 2.0 }
XYPoint { x: 2.0; y: 2.1 }
XYPoint { x: 2.07; y: 2.05 }
@@ -62,4 +61,5 @@ Item {
XYPoint { x: 2.67; y: 2.65 }
}
}
+ //![1]
}