10 #ifndef QWT_PLOT_HISTOGRAM_H 11 #define QWT_PLOT_HISTOGRAM_H 21 #if QT_VERSION < 0x060000 22 template<
typename T >
class QVector;
88 void setPen( const QColor&,
89 qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
91 void setPen( const QPen& );
92 const QPen& pen() const;
94 void setBrush( const QBrush& );
95 const QBrush& brush() const;
100 void setBaseline(
double );
101 double baseline() const;
107 const QwtColumnSymbol* symbol() const;
109 virtual
void drawSeries( QPainter*,
111 const QRectF& canvasRect,
int from,
int to ) const
QWT_OVERRIDE;
113 virtual QRectF boundingRect() const QWT_OVERRIDE;
116 int index, const QSizeF& ) const QWT_OVERRIDE;
123 const QwtIntervalSample& ) const;
125 void drawColumns( QPainter*,
126 const QwtScaleMap& xMap, const QwtScaleMap& yMap,
127 int from,
int to ) const;
129 void drawOutline( QPainter*,
130 const QwtScaleMap& xMap, const QwtScaleMap& yMap,
131 int from,
int to ) const;
133 void drawLines( QPainter*,
134 const QwtScaleMap& xMap, const QwtScaleMap& yMap,
135 int from,
int to ) const;
139 void flushPolygon( QPainter*,
double baseLine, QPolygonF& ) const;
Abstract interface for iterating over samples.
A drawing primitive for columns.
Class storing a QwtSeriesData object.
A sample of the types (x1-x2, y) or (x, y1-y2)
A class representing a text.
A paint device for scalable graphics.
QwtPlotHistogram represents a series of samples, where an interval is associated with a value ( )...
Directed rectangle representing bounding rectangle and orientation of a column.
Base class for plot items representing a series of samples.