summaryrefslogtreecommitdiffstats
path: root/examples/surface/surfacegraph.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-12-12 14:31:58 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-12-13 08:28:38 +0200
commitc919f54984e9c4925a0c02b21f0e10b3dde64e60 (patch)
tree596331429b69f5dd5fe57188baf7a1c299fbc49a /examples/surface/surfacegraph.cpp
parent132502c16e8ccb6d6fc627e2b5f6f89838d88c8e (diff)
Fix scatter and surface example documentations
Task-number: QTRD-2635 Change-Id: Ic37b1233e9f3219880f8bdb84efa54b4ee6383bc Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/surface/surfacegraph.cpp')
-rw-r--r--examples/surface/surfacegraph.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/surface/surfacegraph.cpp b/examples/surface/surfacegraph.cpp
index 7cf4f329..24ab3715 100644
--- a/examples/surface/surfacegraph.cpp
+++ b/examples/surface/surfacegraph.cpp
@@ -104,6 +104,7 @@ void SurfaceGraph::enableSqrtSinModel(bool enable)
m_graph->addSeries(m_sqrtSinSeries);
//! [3]
+ //! [8]
// Reset range sliders for Sqrt&Sin
m_rangeMinX = sampleMin;
m_rangeMinZ = sampleMin;
@@ -117,6 +118,7 @@ void SurfaceGraph::enableSqrtSinModel(bool enable)
m_axisMinSliderZ->setValue(0);
m_axisMaxSliderZ->setMaximum(sampleCountZ - 1);
m_axisMaxSliderZ->setValue(sampleCountZ - 1);
+ //! [8]
}
}