##// END OF EJS Templates
Adds proper docs for tickCount on valueaxis
Michal Klocek -
r2308:b27f3a00c396
parent child
Show More
@@ -96,6 +96,17 QTCOMMERCIALCHART_BEGIN_NAMESPACE
96 */
96 */
97
97
98 /*!
98 /*!
99 \property QValueAxis::tickCount
100 Defines the number of ticks on the axis. This indicates how many grid lines are draw on the chart.
101 The default value is 5, and it can not be below 2.
102 */
103 /*!
104 \qmlproperty real ValueAxis::tickCount
105 Defines the number of ticks on the axis. This indicates how many grid lines are draw on the chart.
106 The default value is 5, and it can not be below 2.
107 */
108
109 /*!
99 \property QValueAxis::labelFormat
110 \property QValueAxis::labelFormat
100 Defines the label format for the axis.
111 Defines the label format for the axis.
101 Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c
112 Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c
@@ -127,18 +138,17 QTCOMMERCIALCHART_BEGIN_NAMESPACE
127 */
138 */
128
139
129 /*!
140 /*!
130 \fn void QValueAxis::rangeChanged(qreal min, qreal max)
141 \fn void QValueAxis::tickCountChanged(int tickCount)
131 Axis emits signal when \a min or \a max of axis has changed.
142 Axis emits signal when number of ticks on axis have changed.
132 */
143 */
133
134 /*!
144 /*!
135 \property QValueAxis::tickCount
145 \qmlsignal ValueAxis::tickCountChanged(int tickCount)
136 The number of tick marks for the axis.
146 Axis emits signal when number of ticks on axis have changed.
137 */
147 */
138
148
139 /*!
149 /*!
140 \qmlproperty int ValueAxis::tickCount
150 \fn void QValueAxis::rangeChanged(qreal min, qreal max)
141 The number of tick marks for the axis.
151 Axis emits signal when \a min or \a max of axis has changed.
142 */
152 */
143
153
144 /*!
154 /*!
@@ -213,9 +223,6 void QValueAxis::setRange(qreal min, qreal max)
213 d->setRange(min,max);
223 d->setRange(min,max);
214 }
224 }
215
225
216 /*!
217 Sets \a count for ticks on the axis.
218 */
219 void QValueAxis::setTickCount(int count)
226 void QValueAxis::setTickCount(int count)
220 {
227 {
221 Q_D(QValueAxis);
228 Q_D(QValueAxis);
@@ -225,10 +232,6 void QValueAxis::setTickCount(int count)
225 }
232 }
226 }
233 }
227
234
228 /*!
229 \fn int QValueAxis::tickCount() const
230 Return number of ticks on the axis
231 */
232 int QValueAxis::tickCount() const
235 int QValueAxis::tickCount() const
233 {
236 {
234 Q_D(const QValueAxis);
237 Q_D(const QValueAxis);
@@ -71,7 +71,7 Q_SIGNALS:
71 void minChanged(qreal min);
71 void minChanged(qreal min);
72 void maxChanged(qreal max);
72 void maxChanged(qreal max);
73 void rangeChanged(qreal min, qreal max);
73 void rangeChanged(qreal min, qreal max);
74 void tickCountChanged(int ticks);
74 void tickCountChanged(int tickCount);
75
75
76 private:
76 private:
77 Q_DECLARE_PRIVATE(QValueAxis)
77 Q_DECLARE_PRIVATE(QValueAxis)
General Comments 0
You need to be logged in to leave comments. Login now