summaryrefslogtreecommitdiffstats
path: root/examples/surface/surfacegraph.cpp
diff options
context:
space:
mode:
authorMika Salmela <mika.salmela@digia.com>2013-12-20 12:03:59 +0200
committerMika Salmela <mika.salmela@digia.com>2013-12-20 12:05:37 +0200
commiteb3d0514ca886db33776522ea00f27b69bc86ad1 (patch)
tree3439287f6a70f681c5c9a08c77ec1b4342a24768 /examples/surface/surfacegraph.cpp
parent07aba602fc82ac31684988f8e8e22521d2b3c982 (diff)
parente895c5085f6097983bdd617c39ea5184541d6c4d (diff)
Merge branch 'develop'
Diffstat (limited to 'examples/surface/surfacegraph.cpp')
-rw-r--r--examples/surface/surfacegraph.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/surface/surfacegraph.cpp b/examples/surface/surfacegraph.cpp
index 24ab3715..7ebb6b72 100644
--- a/examples/surface/surfacegraph.cpp
+++ b/examples/surface/surfacegraph.cpp
@@ -49,6 +49,7 @@ SurfaceGraph::SurfaceGraph(Q3DSurface *surface)
QImage heightMapImage(":/maps/mountain");
m_heightMapProxy = new QHeightMapSurfaceDataProxy(heightMapImage);
m_heightMapSeries = new QSurface3DSeries(m_heightMapProxy);
+ m_heightMapSeries->setItemLabelFormat(QStringLiteral("(@xLabel, @zLabel): @yLabel"));
m_heightMapProxy->setValueRanges(34.0f, 40.0f, 18.0f, 24.0f);
//! [2]
m_heightMapWidth = heightMapImage.width();