summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/charts/legendmarkers/mainwidget.cpp2
-rw-r--r--examples/charts/qmlcustomlegend/qml/qmlcustomlegend/ChartViewHighlighted.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/charts/legendmarkers/mainwidget.cpp b/examples/charts/legendmarkers/mainwidget.cpp
index e02c4908..bea5ef92 100644
--- a/examples/charts/legendmarkers/mainwidget.cpp
+++ b/examples/charts/legendmarkers/mainwidget.cpp
@@ -139,7 +139,7 @@ void MainWidget::handleMarkerClicked()
switch (marker->type())
//![4]
{
- case QLegendMarker::LegendMarkerTypeXY:
+ case QLegendMarker::LegendMarkerTypeXY:
{
//![5]
// Toggle visibility of series
diff --git a/examples/charts/qmlcustomlegend/qml/qmlcustomlegend/ChartViewHighlighted.qml b/examples/charts/qmlcustomlegend/qml/qmlcustomlegend/ChartViewHighlighted.qml
index 266a6785..1edce7a6 100644
--- a/examples/charts/qmlcustomlegend/qml/qmlcustomlegend/ChartViewHighlighted.qml
+++ b/examples/charts/qmlcustomlegend/qml/qmlcustomlegend/ChartViewHighlighted.qml
@@ -72,7 +72,7 @@ ChartView {
lineSeries.clear();
lineSeries.color = selectedSeries.color;
var maxVal = 0.0;
- for (var i = 0; i < selectedSeries.upperSeries.count; i++ ) {
+ for (var i = 0; i < selectedSeries.upperSeries.count; i++) {
var y = selectedSeries.upperSeries.at(i).y - selectedSeries.lowerSeries.at(i).y;
lineSeries.append(selectedSeries.upperSeries.at(i).x, y);
if (maxVal < y)