summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-01-23 11:09:09 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-01-23 14:36:35 +0000
commite6a6b8fb5716cd819153b1c4fbed98dd469b3123 (patch)
tree956babc97af8eaa985c5030762911b7b25b73acb
parent6240b58e797e8159db6ccb03e71c1d3cb3416328 (diff)
Doc: Add property docs for the CategoryRange type
Task-number: QTBUG-58337 Change-Id: Ic382b70ff2ca088dad970fe3745d84617e6b7484 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--src/chartsqml2/declarativecategoryaxis.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/chartsqml2/declarativecategoryaxis.cpp b/src/chartsqml2/declarativecategoryaxis.cpp
index 44f0a1ef..21221404 100644
--- a/src/chartsqml2/declarativecategoryaxis.cpp
+++ b/src/chartsqml2/declarativecategoryaxis.cpp
@@ -36,10 +36,25 @@ QT_CHARTS_BEGIN_NAMESPACE
\qmltype CategoryRange
\inqmlmodule QtCharts
- \brief With CategoryRange you can define a range used by a CategoryAxis.
+ \brief Defines a range on a category axis.
+
+ The CategoryRange type is used together with the CategoryAxis type to
+ specify labeled ranges on category axes. The widths of the category ranges
+ can be specified freely.
+
\sa CategoryAxis
*/
+/*!
+ \qmlproperty int CategoryRange::endValue
+ The high end of the category.
+*/
+
+/*!
+ \qmlproperty string CategoryRange::label
+ The label of the category.
+*/
+
DeclarativeCategoryRange::DeclarativeCategoryRange(QObject *parent) :
QObject(parent),
m_endValue(0),