##// END OF EJS Templates
fixed warnings from barchart docs
sauimone -
r1850:734071afb80c
parent child
Show More
@@ -189,6 +189,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
189 189
190 190 /*!
191 191 This is depreciated constructor.
192 \a parent
192 193 */
193 194 QAbstractBarSeries::QAbstractBarSeries(QObject *parent) :
194 195 QAbstractSeries(*(QAbstractBarSeriesPrivate*)(0),parent)
@@ -384,6 +385,11 bool QAbstractBarSeries::isLabelsVisible() const
384 385 return d->m_labelsVisible;
385 386 }
386 387
388 /*!
389 Sets the grouped drawing mode for bars. If \a grouping is true, then the bars
390 are drawn at same position inside group. Can be used for example to draw negative bars
391 at same position on axis than positive bars.
392 */
387 393 void QAbstractBarSeries::setGrouping(bool grouping)
388 394 {
389 395 Q_D(QAbstractBarSeries);
@@ -59,8 +59,6 public:
59 59 void setLabelsVisible(bool visible = true);
60 60 bool isLabelsVisible() const;
61 61
62 // TODO. Good name for this. This affects how bars are laid out on chart. (for example with pyramid chart)
63 // Also do we support same for stacked and percent bar charts or just normal bar charts?
64 62 void setGrouping(bool grouping = true);
65 63
66 64 protected:
@@ -72,6 +72,9 QAbstractSeries::SeriesType QBarSeries::type() const
72 72 return QAbstractSeries::SeriesTypeBar;
73 73 }
74 74
75 /*!
76 Destructor. Removes series from chart.
77 */
75 78 QBarSeries::~QBarSeries()
76 79 {
77 80 Q_D(QBarSeries);
@@ -63,6 +63,9 QPercentBarSeries::QPercentBarSeries(QObject *parent)
63 63 {
64 64 }
65 65
66 /*!
67 Destructor. Removes series from chart.
68 */
66 69 QPercentBarSeries::~QPercentBarSeries()
67 70 {
68 71 Q_D(QPercentBarSeries);
@@ -64,6 +64,9 QStackedBarSeries::QStackedBarSeries(QObject *parent)
64 64 {
65 65 }
66 66
67 /*!
68 Destructor. Removes series from chart.
69 */
67 70 QStackedBarSeries::~QStackedBarSeries()
68 71 {
69 72 Q_D(QStackedBarSeries);
General Comments 0
You need to be logged in to leave comments. Login now