##// 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 110 \property QValueAxis::labelFormat
100 111 Defines the label format for the axis.
101 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)
131 Axis emits signal when \a min or \a max of axis has changed.
141 \fn void QValueAxis::tickCountChanged(int tickCount)
142 Axis emits signal when number of ticks on axis have changed.
132 143 */
133
134 144 /*!
135 \property QValueAxis::tickCount
136 The number of tick marks for the axis.
145 \qmlsignal ValueAxis::tickCountChanged(int tickCount)
146 Axis emits signal when number of ticks on axis have changed.
137 147 */
138 148
139 149 /*!
140 \qmlproperty int ValueAxis::tickCount
141 The number of tick marks for the axis.
150 \fn void QValueAxis::rangeChanged(qreal min, qreal max)
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 223 d->setRange(min,max);
214 224 }
215 225
216 /*!
217 Sets \a count for ticks on the axis.
218 */
219 226 void QValueAxis::setTickCount(int count)
220 227 {
221 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 235 int QValueAxis::tickCount() const
233 236 {
234 237 Q_D(const QValueAxis);
@@ -71,7 +71,7 Q_SIGNALS:
71 71 void minChanged(qreal min);
72 72 void maxChanged(qreal max);
73 73 void rangeChanged(qreal min, qreal max);
74 void tickCountChanged(int ticks);
74 void tickCountChanged(int tickCount);
75 75
76 76 private:
77 77 Q_DECLARE_PRIVATE(QValueAxis)
General Comments 0
You need to be logged in to leave comments. Login now