From b9b72df8bc8fd7078622661a6576c52627c1b327 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 4 Oct 2013 14:33:42 +0300 Subject: Added getting started documentation. +Improved example stubs to allow easier listing of them +Misc fixes Change-Id: Ib38f63f68a376fd475442d49b525e6b2109733a4 Reviewed-by: Mika Salmela --- src/datavisualization/engine/q3dbars.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/datavisualization/engine/q3dbars.cpp') diff --git a/src/datavisualization/engine/q3dbars.cpp b/src/datavisualization/engine/q3dbars.cpp index 660b046b..ef0eb88b 100644 --- a/src/datavisualization/engine/q3dbars.cpp +++ b/src/datavisualization/engine/q3dbars.cpp @@ -54,6 +54,10 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE * * \section1 How to construct a minimal Q3DBars graph * + * First, construct an instance of Q3DBars: + * + * \snippet doc_src_q3dbars_construction.cpp 4 + * * After constructing Q3DBars, you can set the data window by changing the range on the row and * column axes. It is not mandatory, as data window will default to showing all of the data in * the data proxy. If the amount of data is large, it is usually preferable to show just a @@ -66,7 +70,7 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE * * \snippet doc_src_q3dbars_construction.cpp 1 * - * \note We set the sample space to 5 x 5, but we are inserting only one row of data. This is ok, + * \note We set the data window to 5 x 5, but we are inserting only one row of data. This is ok, * the rest of the rows will just be blank. * * Finally you will need to set it visible: -- cgit v1.2.3