10 #ifndef QWT_PLOT_HISTOGRAM_H
11 #define QWT_PLOT_HISTOGRAM_H
13 #include "qwt_global.h"
14 #include "qwt_plot_seriesitem.h"
15 #include "qwt_column_symbol.h"
19 class QwtIntervalData;
83 virtual int rtti()
const;
85 void setPen(
const QColor &, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
86 void setPen(
const QPen & );
87 const QPen &pen()
const;
89 void setBrush(
const QBrush & );
90 const QBrush &brush()
const;
92 void setSamples(
const QVector<QwtIntervalSample> & );
95 void setBaseline(
double reference );
96 double baseline()
const;
98 void setStyle( HistogramStyle style );
99 HistogramStyle style()
const;
106 const QRectF &canvasRect,
int from,
int to )
const;
119 void drawColumns( QPainter *,
121 int from,
int to )
const;
123 void drawOutline( QPainter *,
125 int from,
int to )
const;
127 void drawLines( QPainter *,
129 int from,
int to )
const;
133 void flushPolygon( QPainter *,
double baseLine, QPolygonF & )
const;