##// END OF EJS Templates
Added support for adding and removing data with model. Updated the example
Added support for adding and removing data with model. Updated the example

File last commit:

r487:03622a1338c4
r545:366c5163e81a
Show More
stackedbarpresenter_p.h
28 lines | 567 B | text/x-c | CLexer
/ src / barchart / stackedbarpresenter_p.h
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 #ifndef STACKEDBARPRESENTER_H
#define STACKEDBARPRESENTER_H
sauimone
added missing example files :)
r96
sauimone
added _p to private class headers
r381 #include "barpresenterbase_p.h"
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 #include "qstackedbarseries.h"
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #include <QGraphicsItem>
sauimone
added missing example files :)
r96
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
Common naming convention for barcharts
r216 class StackedBarPresenter : public BarPresenterBase
sauimone
added missing example files :)
r96 {
sauimone
moved tooltip to presenter
r288 Q_OBJECT
sauimone
added missing example files :)
r96 public:
sauimone
Labels for barchart to axis
r487 StackedBarPresenter(QBarSeries *series, QChart *parent = 0);
sauimone
updating drilldown example. Needs some more thinking
r438 ~StackedBarPresenter();
sauimone
added missing example files :)
r96
private:
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 // From BarPresenterBase
sauimone
added missing example files :)
r96 void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 #endif // STACKEDBARPRESENTER_H