diff options
author | Mika Salmela <mika.salmela@digia.com> | 2013-12-20 12:03:59 +0200 |
---|---|---|
committer | Mika Salmela <mika.salmela@digia.com> | 2013-12-20 12:05:37 +0200 |
commit | eb3d0514ca886db33776522ea00f27b69bc86ad1 (patch) | |
tree | 3439287f6a70f681c5c9a08c77ec1b4342a24768 /examples/surface/surfacegraph.cpp | |
parent | 07aba602fc82ac31684988f8e8e22521d2b3c982 (diff) | |
parent | e895c5085f6097983bdd617c39ea5184541d6c4d (diff) |
Merge branch 'develop'
Change-Id: I7408ac3b14c3a9484d28f8c08eece6210a44025e
Diffstat (limited to 'examples/surface/surfacegraph.cpp')
-rw-r--r-- | examples/surface/surfacegraph.cpp | 1 |
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(); |