##// END OF EJS Templates
Adaptive layout to legend. Tries to fit all items inside given maximum size
Adaptive layout to legend. Tries to fit all items inside given maximum size

File last commit:

r487:03622a1338c4
r626:b05202e4f2ef
Show More
barpresenter_p.h
30 lines | 603 B | text/x-c | CLexer
sauimone
moved presenter to private headers. code cleanup
r217 #ifndef BARPRESENTER_H
#define BARPRESENTER_H
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
sauimone
moved tooltip to presenter
r288 #include "qchartglobal.h"
sauimone
added _p to private class headers
r381 #include "barpresenterbase_p.h"
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #include <QGraphicsItem>
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 class QBarSeries;
sauimone
moved tooltip to presenter
r288
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 // Presenter for parallel bars. Grouping of bars is done on category basis.
sauimone
Common naming convention for barcharts
r216 class BarPresenter : public BarPresenterBase
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 {
sauimone
moved tooltip to presenter
r288 Q_OBJECT
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 public:
sauimone
Labels for barchart to axis
r487 explicit BarPresenter(QBarSeries *series, QChart *parent = 0);
sauimone
Added bar chart example
r78
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 private:
sauimone
moved presenter to private headers. code cleanup
r217 // From BarPresenterBase
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
sauimone
moved presenter to private headers. code cleanup
r217 #endif // BARPRESENTER_H