From dde2aa073bc348b35b1148d3b25e914b4f9ce3d9 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 9 Aug 2013 08:29:55 +0300 Subject: Changed "tick" to "segment" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ää --- examples/scatterchart/scatterchart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/scatterchart') diff --git a/examples/scatterchart/scatterchart.cpp b/examples/scatterchart/scatterchart.cpp index f2d3d50a..6a945bd4 100644 --- a/examples/scatterchart/scatterchart.cpp +++ b/examples/scatterchart/scatterchart.cpp @@ -79,8 +79,8 @@ void ScatterDataModifier::addData() << "other 0.0" << "other 0.2" << "other 0.4" << "other 0.6" << "other 0.8" << "other 1.0"; - // Set tick count and step - m_chart->setTickCount(10, 0.1f, -1.0f); + // Set segment count and step + m_chart->setSegmentCount(10, 0.1f, -1.0f); // Add labels m_chart->rowAxis()->setTitle("Somethings"); -- cgit v1.2.3