##// END OF EJS Templates
fixed documentation errors
sauimone -
r1575:5c9e4e8ea61d
parent child
Show More
@@ -63,7 +63,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
63 \value AxisTypeCategories
63 \value AxisTypeCategories
64 */
64 */
65
65
66 /*!
66 /*
67 \property QAbstractAxis::type
67 \property QAbstractAxis::type
68 The type of the axis.
68 The type of the axis.
69 */
69 */
@@ -77,20 +77,20 QTCOMMERCIALCHART_BEGIN_NAMESPACE
77 Defines if axis labels are visible.
77 Defines if axis labels are visible.
78 */
78 */
79
79
80 /*!
80 /*
81 \property QAbstractAxis::min
81 \property QAbstractAxis::min
82 Defines the minimum value on the axis.
82 Defines the minimum value on the axis.
83 */
83 */
84 /*!
84 /*
85 \qmlproperty real Axis::min
85 \qmlproperty real Axis::min
86 Defines the minimum value on the axis.
86 Defines the minimum value on the axis.
87 */
87 */
88
88
89 /*!
89 /*
90 \property QAbstractAxis::max
90 \property QAbstractAxis::max
91 Defines the maximum value on the axis.
91 Defines the maximum value on the axis.
92 */
92 */
93 /*!
93 /*
94 \qmlproperty real Axis::max
94 \qmlproperty real Axis::max
95 Defines the maximum value on the axis.
95 Defines the maximum value on the axis.
96 */
96 */
@@ -123,9 +123,10 QTCOMMERCIALCHART_BEGIN_NAMESPACE
123 */
123 */
124
124
125 /*!
125 /*!
126 \property QAxis::labelsFont
126 \property QAbstractAxis::labelsFont
127 The font of the axis labels.
127 The font of the axis labels.
128 */
128 */
129
129 /*!
130 /*!
130 \qmlproperty Font Axis::labelsFont
131 \qmlproperty Font Axis::labelsFont
131 The font of the axis labels.
132 The font of the axis labels.
@@ -179,24 +180,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE
179 */
180 */
180
181
181 /*!
182 /*!
182 \property QAbstractAxis::ticksCount
183 The number of tick marks for the axis.
184 */
185 /*!
186 \qmlproperty int Axis::ticksCount
187 The number of tick marks for the axis.
188 */
189
190 /*!
191 \property QAbstractAxis::niceNumbersEnabled
192 Whether the nice numbers algorithm is enabled or not for the axis.
193 */
194 /*!
195 \qmlproperty bool Axis::niceNumbersEnabled
196 Whether the nice numbers algorithm is enabled or not for the axis.
197 */
198
199 /*!
200 \fn void QAbstractAxis::visibleChanged(bool)
183 \fn void QAbstractAxis::visibleChanged(bool)
201 Visiblity of the axis has changed to \a visible.
184 Visiblity of the axis has changed to \a visible.
202 */
185 */
@@ -211,22 +194,22 QTCOMMERCIALCHART_BEGIN_NAMESPACE
211 Visiblity of the grid lines of the axis has changed to \a visible.
194 Visiblity of the grid lines of the axis has changed to \a visible.
212 */
195 */
213
196
214 /*!
197 /*
215 \fn void QAbstractAxis::minChanged(qreal min)
198 \fn void QAbstractAxis::minChanged(qreal min)
216 Axis emits signal when \a min of axis has changed.
199 Axis emits signal when \a min of axis has changed.
217 */
200 */
218
201
219 /*!
202 /*
220 \fn void QAbstractAxis::maxChanged(qreal max)
203 \fn void QAbstractAxis::maxChanged(qreal max)
221 Axis emits signal when \a max of axis has changed.
204 Axis emits signal when \a max of axis has changed.
222 */
205 */
223
206
224 /*!
207 /*
225 \fn void QAbstractAxis::rangeChanged(qreal min, qreal max)
208 \fn void QAbstractAxis::rangeChanged(qreal min, qreal max)
226 Axis emits signal when \a min or \a max of axis has changed.
209 Axis emits signal when \a min or \a max of axis has changed.
227 */
210 */
228
211
229 /*!
212 /*
230 \fn QChartAxisCategories* QAbstractAxis::categories()
213 \fn QChartAxisCategories* QAbstractAxis::categories()
231 Returns pointer to the list of categories which correspond to the values on the axis.
214 Returns pointer to the list of categories which correspond to the values on the axis.
232 */
215 */
@@ -85,6 +85,26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
85 Axis emits signal when \a min or \a max of axis has changed.
85 Axis emits signal when \a min or \a max of axis has changed.
86 */
86 */
87
87
88 /*!
89 \property QValuesAxis::ticksCount
90 The number of tick marks for the axis.
91 */
92
93 /*!
94 \qmlproperty int Axis::ticksCount
95 The number of tick marks for the axis.
96 */
97
98 /*!
99 \property QValuesAxis::niceNumbersEnabled
100 Whether the nice numbers algorithm is enabled or not for the axis.
101 */
102
103 /*!
104 \qmlproperty bool Axis::niceNumbersEnabled
105 Whether the nice numbers algorithm is enabled or not for the axis.
106 */
107
88 QValuesAxis::QValuesAxis(QObject *parent) :
108 QValuesAxis::QValuesAxis(QObject *parent) :
89 QAbstractAxis(*new QValuesAxisPrivate(this),parent)
109 QAbstractAxis(*new QValuesAxisPrivate(this),parent)
90 {
110 {
@@ -147,7 +167,7 void QValuesAxis::setTicksCount(int count)
147 }
167 }
148
168
149 /*!
169 /*!
150 \fn int QAbstractAxis::ticksCount() const
170 \fn int QValuesAxis::ticksCount() const
151 Return number of ticks on the axis
171 Return number of ticks on the axis
152 */
172 */
153 int QValuesAxis::ticksCount() const
173 int QValuesAxis::ticksCount() const
@@ -159,26 +159,11 QTCOMMERCIALCHART_BEGIN_NAMESPACE
159 */
159 */
160
160
161 /*!
161 /*!
162 \fn void QLegend::labelBrushChanged(QBrush brush)
163 This signal is emitted when the brush used to draw labels has changed to \a brush.
164 */
165
166 /*!
167 \fn void QLegend::labelColorChanged(QColor color)
162 \fn void QLegend::labelColorChanged(QColor color)
168 This signal is emitted when the color of brush used to draw labels has changed to \a color.
163 This signal is emitted when the color of brush used to draw labels has changed to \a color.
169 */
164 */
170
165
171 /*!
166 /*!
172 \fn qreal QLegend::minWidth() const
173 Returns minimum width of the legend
174 */
175
176 /*!
177 \fn qreal QLegend::minHeight() const
178 Returns minimum height of the legend
179 */
180
181 /*!
182 Constructs the legend object and sets the parent to \a parent
167 Constructs the legend object and sets the parent to \a parent
183 */
168 */
184
169
@@ -134,7 +134,7 QChart::~QChart()
134 }
134 }
135
135
136 /*!
136 /*!
137 Adds the \a series and optional \a axisY onto the chart and takes the ownership of the objects.
137 Adds the \a series onto the chart and takes the ownership of the object.
138 If auto scaling is enabled, re-scales the axes the series is bound to (both the x axis and
138 If auto scaling is enabled, re-scales the axes the series is bound to (both the x axis and
139 the y axis).
139 the y axis).
140
140
@@ -354,7 +354,7 QChart::AnimationOptions QChart::animationOptions() const
354 }
354 }
355
355
356 /*!
356 /*!
357 Scrolls the visible area of the chart by the distance defined in the \a delta.
357 Scrolls the visible area of the chart by the distance defined in the \a dx and \a dy.
358 */
358 */
359 void QChart::scroll(qreal dx, qreal dy)
359 void QChart::scroll(qreal dx, qreal dy)
360 {
360 {
General Comments 0
You need to be logged in to leave comments. Login now