##// END OF EJS Templates
Doc: Add missing documentation...
Caroline Chao -
r2770:68a3fd8e7726
parent child
Show More
@@ -67,4 +67,6 navigation.landingpage = Qt Charts
67 navigation.cppclassespage = Qt Charts C++ Classes
67 navigation.cppclassespage = Qt Charts C++ Classes
68 navigation.qmltypespage = Qt Charts QML Types
68 navigation.qmltypespage = Qt Charts QML Types
69
69
70 depends = qtwidgets
71
70 buildversion = Qt Charts $QT_VERSION Reference Documentation
72 buildversion = Qt Charts $QT_VERSION Reference Documentation
@@ -37,6 +37,7 QT_CHARTS_BEGIN_NAMESPACE
37 /*!
37 /*!
38 \class QLegend
38 \class QLegend
39 \inmodule Qt Charts
39 \inmodule Qt Charts
40 \inherits QGraphicsWidget
40 \brief Legend object.
41 \brief Legend object.
41 \mainclass
42 \mainclass
42
43
@@ -56,7 +57,7 QT_CHARTS_BEGIN_NAMESPACE
56
57
57 \brief Legend is part of Qt Chart QML API.
58 \brief Legend is part of Qt Chart QML API.
58
59
59 Legend is a graphical object, whics displays legend of the chart. Legend state is updated by
60 Legend is a graphical object, which displays legend of the chart. Legend state is updated by
60 ChartView, when series have been changed. Legend is used via ChartView class. For example:
61 ChartView, when series have been changed. Legend is used via ChartView class. For example:
61 \code
62 \code
62 ChartView {
63 ChartView {
@@ -99,6 +100,14 QT_CHARTS_BEGIN_NAMESPACE
99 */
100 */
100
101
101 /*!
102 /*!
103 \qmlproperty bool Legend::visible
104 \brief Whether the legend is visible or not.
105
106 By default, this property is \c true.
107 \sa QGraphicsObject::visible
108 */
109
110 /*!
102 \property QLegend::color
111 \property QLegend::color
103 The color of the legend, i.e. the background (brush) color. Note that if you change the color
112 The color of the legend, i.e. the background (brush) color. Note that if you change the color
104 of the legend, the style of the legend brush is set to Qt::SolidPattern.
113 of the legend, the style of the legend brush is set to Qt::SolidPattern.
@@ -330,6 +330,7 QT_CHARTS_BEGIN_NAMESPACE
330 */
330 */
331 /*!
331 /*!
332 \qmlsignal XYSeries::onPointsReplaced()
332 \qmlsignal XYSeries::onPointsReplaced()
333 Signal is emitted when all points have been replaced with other points.
333 */
334 */
334
335
335 /*!
336 /*!
@@ -127,6 +127,11 QT_CHARTS_BEGIN_NAMESPACE
127 */
127 */
128
128
129 /*!
129 /*!
130 \qmlproperty list<AbstractAxis> ChartView::axes
131 The axes of the ChartView.
132 */
133
134 /*!
130 \qmlproperty bool ChartView::dropShadowEnabled
135 \qmlproperty bool ChartView::dropShadowEnabled
131 The chart's border drop shadow. Set to true to enable drop shadow.
136 The chart's border drop shadow. Set to true to enable drop shadow.
132 */
137 */
@@ -205,12 +210,22 QT_CHARTS_BEGIN_NAMESPACE
205 */
210 */
206
211
207 /*!
212 /*!
213 \qmlmethod ChartView::setAxisX(AbstractAxis axis, AbstractSeries series)
214 Set the x-axis of the series.
215 */
216
217 /*!
208 \qmlmethod Axis ChartView::axisY(AbstractSeries series)
218 \qmlmethod Axis ChartView::axisY(AbstractSeries series)
209 The y-axis of the series.
219 The y-axis of the series.
210 */
220 */
211
221
212 /*!
222 /*!
213 \qmlmethod ChartView::zoomY(real factor)
223 \qmlmethod ChartView::setAxisY(AbstractAxis axis, AbstractSeries series)
224 Set the y-axis of the series.
225 */
226
227 /*!
228 \qmlmethod ChartView::zoom(real factor)
214 Zooms in by \a factor on the center of the chart.
229 Zooms in by \a factor on the center of the chart.
215 */
230 */
216
231
General Comments 0
You need to be logged in to leave comments. Login now