summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/declarativechart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/declarative/declarativechart.cpp')
-rw-r--r--plugins/declarative/declarativechart.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/declarative/declarativechart.cpp b/plugins/declarative/declarativechart.cpp
index 005fd667..8364f0e7 100644
--- a/plugins/declarative/declarativechart.cpp
+++ b/plugins/declarative/declarativechart.cpp
@@ -52,21 +52,21 @@
QTCOMMERCIALCHART_BEGIN_NAMESPACE
+#ifdef QDOC_QT5
/*!
- \qmlclass ChartView DeclarativeChart
-
- ChartView element is the parent that is responsible for showing different chart series types.
+ \qmltype ChartView
+ \instantiates DeclarativeChart
+ \inqmlmodule QtCommercial.Chart
- The following QML shows how to create a simple chart with one pie series:
- \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1
- \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
- \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3
+ \include /doc/src/chartview.qdocinc
+*/
+#else
+/*!
+ \qmlclass ChartView DeclarativeChart
- \beginfloatleft
- \image examples_qmlpiechart.png
- \endfloat
- \clearfloat
+ \include ../doc/src/chartview.qdocinc
*/
+#endif
/*!
\qmlproperty Theme ChartView::theme
@@ -82,9 +82,9 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE
/*!
\qmlproperty Font ChartView::titleFont
- The title font of the chart
+ The title font of the chart.
- See the \l {Font} {QML Font Element} for detailed documentation.
+ See the Qt documentation for more details of Font.
*/
/*!