##// 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
barpresenter_p.h
30 lines | 603 B | text/x-c | CLexer
#ifndef BARPRESENTER_H
#define BARPRESENTER_H
#include "qchartglobal.h"
#include "barpresenterbase_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QBarSeries;
// Presenter for parallel bars. Grouping of bars is done on category basis.
class BarPresenter : public BarPresenterBase
{
Q_OBJECT
public:
explicit BarPresenter(QBarSeries *series, QChart *parent = 0);
private:
// From BarPresenterBase
void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARPRESENTER_H