##// END OF EJS Templates
bar margin setter to series
sauimone -
r1283:a3587e7f5c5f
parent child
Show More
@@ -107,6 +107,12 void QBarSeries::setCategories(QBarCategories categories)
107 emit d->categoriesUpdated();
107 emit d->categoriesUpdated();
108 }
108 }
109
109
110 void QBarSeries::setBarMargin(qreal margin)
111 {
112 Q_D(QBarSeries);
113 d->setBarMargin(margin);
114 }
115
110 /*!
116 /*!
111 Adds a set of bars to series. Takes ownership of \a set. If the set is null or is already in series, it won't be appended.
117 Adds a set of bars to series. Takes ownership of \a set. If the set is null or is already in series, it won't be appended.
112 Returns true, if appending succeeded.
118 Returns true, if appending succeeded.
@@ -43,6 +43,8 public:
43 QAbstractSeries::SeriesType type() const;
43 QAbstractSeries::SeriesType type() const;
44 void setCategories(QBarCategories categories);
44 void setCategories(QBarCategories categories);
45
45
46 void setBarMargin(qreal margin);
47
46 bool append(QBarSet *set);
48 bool append(QBarSet *set);
47 bool remove(QBarSet *set);
49 bool remove(QBarSet *set);
48 bool append(QList<QBarSet* > sets);
50 bool append(QList<QBarSet* > sets);
General Comments 0
You need to be logged in to leave comments. Login now