summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/bars/doc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datavisualization/bars/doc')
-rw-r--r--examples/datavisualization/bars/doc/src/bars.qdoc15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/datavisualization/bars/doc/src/bars.qdoc b/examples/datavisualization/bars/doc/src/bars.qdoc
index 361078bb..8f8d6210 100644
--- a/examples/datavisualization/bars/doc/src/bars.qdoc
+++ b/examples/datavisualization/bars/doc/src/bars.qdoc
@@ -29,6 +29,7 @@
\li Create an application with Q3DBars and some widgets
\li Use QBar3DSeries and QBarDataProxy to set data to the graph
\li Adjust some graph and series properties using widget controls
+ \li Select a row or a column by clicking an axis label
\endlist
It also demonstrates how having negative bar values affects the graph.
@@ -167,6 +168,20 @@
\li Font size
\endlist
+ \section1 Selecting a row/column by clicking an axis label
+
+ Selection by axis label is default functionality for bar graphs. As an example, you can select
+ rows by clicking an axis label in the following way:"
+
+ \list
+ \li Change selection mode to \c SelectionRow
+ \li Click a year label
+ \li The row with the clicked year is selected
+ \endlist
+
+ You can use the same method with \c SelectionSlice and \c SelectionItem flags, as long as
+ you have either \c SelectionRow or \c SelectionColumn set as well.
+
\section1 Example contents
*/