summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/engine/q3dbars.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-10-04 14:33:42 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-10-04 15:37:40 +0300
commitb9b72df8bc8fd7078622661a6576c52627c1b327 (patch)
treecb3bc5f86d4ee5da14920daf0f23663bd045f540 /src/datavisualization/engine/q3dbars.cpp
parentaf85378b6361d3252d00c5eaea679d031759a2d2 (diff)
Added getting started documentation.
+Improved example stubs to allow easier listing of them +Misc fixes Change-Id: Ib38f63f68a376fd475442d49b525e6b2109733a4 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'src/datavisualization/engine/q3dbars.cpp')
-rw-r--r--src/datavisualization/engine/q3dbars.cpp6
1 files changed, 5 insertions, 1 deletions
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: