summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTero Ahola <tero.ahola@digia.com>2012-09-06 15:55:52 +0300
committerTero Ahola <tero.ahola@digia.com>2012-09-06 16:09:11 +0300
commiteb59a57300e4b775a0dc7207a2d7111dcc94b980 (patch)
tree3cb2629e1e645cc6d3ff807bfc370c82347b1010 /src
parent72262c10359fabea81aa9be37e94f7bdd2d25f87 (diff)
Improved qmlchart demo and CategoryAxis documentation
Diffstat (limited to 'src')
-rw-r--r--src/axis/categoryaxis/qcategoryaxis.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/axis/categoryaxis/qcategoryaxis.cpp b/src/axis/categoryaxis/qcategoryaxis.cpp
index 624d708a..de382be8 100644
--- a/src/axis/categoryaxis/qcategoryaxis.cpp
+++ b/src/axis/categoryaxis/qcategoryaxis.cpp
@@ -55,14 +55,14 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE
\brief CategoryAxis allows putting a named ranges on the axis.
For example:
- \code
- CategoryAxis {
- startValue: 0.0
- CategoryRange { endValue: 1.0; label: "min (0-1)" }
- CategoryRange { endValue: 3.0; label: "standard (1-3)" }
- CategoryRange { endValue: 4.0; label: "high (3-4)" }
- }
- \endcode
+ \table
+ \row
+ \o \br
+ \br
+ \br
+ \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1
+ \o \inlineimage demos_qmlaxes3.png
+ \endtable
*/
/*!