55 #include <ACG/Config/ACGDefines.hh>
57 #include "qwt_plot_item.h"
59 class QwtIntervalData;
73 explicit Histogram(
const QString &title = QString::null);
83 void setData( QwtIntervalSeriesData* data);
84 const QwtIntervalSeriesData* data()
const;
90 void setColors( std::vector< QColor >& _colors);
93 virtual QRectF boundingRect()
const;
95 virtual int rtti()
const;
98 virtual void draw(QPainter *,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRectF &)
const;
100 void setBaseline(
double reference);
101 double baseline()
const;
103 enum HistogramAttribute
109 void setHistogramAttribute(HistogramAttribute,
bool on =
true);
110 bool testHistogramAttribute(HistogramAttribute)
const;
115 virtual void drawBar(QPainter *, Qt::Orientation o,
const QRect &)
const;
118 QColor color(uint i)
const;