summaryrefslogtreecommitdiffstats
path: root/examples/spectrum/spectrumapp/main.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-08-09 08:29:55 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-08-09 08:48:10 +0300
commitdde2aa073bc348b35b1148d3b25e914b4f9ce3d9 (patch)
treee3bd7f6d87d19dca4b938d136cd661caae69e325 /examples/spectrum/spectrumapp/main.cpp
parent44871935507e215c9d7881911a1c9ade81cf5770 (diff)
Changed "tick" to "segment"
Talking about tick count was misleading, since we are counting the segments between ticks instead of ticks themselves. Changed the term accordingly to reduce confusion. Change-Id: Ic044b179a950083ba9116173a424b865ebb5785a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/spectrum/spectrumapp/main.cpp')
-rw-r--r--examples/spectrum/spectrumapp/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spectrum/spectrumapp/main.cpp b/examples/spectrum/spectrumapp/main.cpp
index 583d8ad4..4f27931f 100644
--- a/examples/spectrum/spectrumapp/main.cpp
+++ b/examples/spectrum/spectrumapp/main.cpp
@@ -92,7 +92,7 @@ MainApp::MainApp(Q3DBars *window)
m_chart->setGridVisible(false);
// Disable auto-scaling of height by defining explicit range
// By setting count to 0 we avoid getting any grid
- m_chart->valueAxis()->setTickCount(0);
+ m_chart->valueAxis()->setSegmentCount(0);
m_chart->valueAxis()->setRange(0.0, 1.0);
// Disable shadows
m_chart->setShadowQuality(ShadowNone);