diff --git a/src/barplot.h b/src/barplot.h --- a/src/barplot.h +++ b/src/barplot.h @@ -21,9 +21,9 @@ #define BARPLOT_H #include -#include #include "channelmanager.h" +#include "barchart.h" class BarPlot : public QwtPlot { @@ -33,8 +33,8 @@ public: explicit BarPlot(ChannelManager* channelMan, QWidget* parent = 0); private: - QwtPlotBarChart barChart; ChannelManager* _channelMan; + BarChart barChart; QVector chartData() const; };