##// END OF EJS Templates
minor doc update
sauimone -
r1299:60e2b55c1831
parent child
Show More
@@ -107,12 +107,19 void QBarSeries::setCategories(QBarCategories categories)
107 emit d->categoriesUpdated();
107 emit d->categoriesUpdated();
108 }
108 }
109
109
110 /*!
111 Sets the margin around bars. Parameter \a margin is from 0 to 1 and represents
112 percentage of margin compared to bars
113 */
110 void QBarSeries::setBarMargin(qreal margin)
114 void QBarSeries::setBarMargin(qreal margin)
111 {
115 {
112 Q_D(QBarSeries);
116 Q_D(QBarSeries);
113 d->setBarMargin(margin);
117 d->setBarMargin(margin);
114 }
118 }
115
119
120 /*!
121 Returns the margin around bars
122 */
116 qreal QBarSeries::barMargin() const
123 qreal QBarSeries::barMargin() const
117 {
124 {
118 Q_D(const QBarSeries);
125 Q_D(const QBarSeries);
@@ -204,12 +211,18 QBarCategories QBarSeries::categories() const
204 return d->categories();
211 return d->categories();
205 }
212 }
206
213
214 /*!
215 Sets the visibility of series to \a visible
216 */
207 void QBarSeries::setVisible(bool visible)
217 void QBarSeries::setVisible(bool visible)
208 {
218 {
209 Q_D(QBarSeries);
219 Q_D(QBarSeries);
210 d->setVisible(visible);
220 d->setVisible(visible);
211 }
221 }
212
222
223 /*!
224 Returns the visibility of series
225 */
213 bool QBarSeries::isVisible() const
226 bool QBarSeries::isVisible() const
214 {
227 {
215 Q_D(const QBarSeries);
228 Q_D(const QBarSeries);
@@ -228,6 +241,9 void QBarSeries::setLabelsVisible(bool visible)
228 }
241 }
229 }
242 }
230
243
244 /*!
245 Returns the visibility of labels
246 */
231 bool QBarSeries::isLabelsVisible() const
247 bool QBarSeries::isLabelsVisible() const
232 {
248 {
233 Q_D(const QBarSeries);
249 Q_D(const QBarSeries);
General Comments 0
You need to be logged in to leave comments. Login now