10 #ifndef QWT_PLOT_HISTOGRAM_H 11 #define QWT_PLOT_HISTOGRAM_H 20 template <
typename T>
class QVector;
84 void setPen( const QColor &,
85 qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
87 void setPen( const QPen & );
88 const QPen &pen() const;
90 void setBrush( const QBrush & );
91 const QBrush &brush() const;
96 void setBaseline(
double );
97 double baseline() const;
103 const QwtColumnSymbol *symbol() const;
105 virtual
void drawSeries( QPainter *,
107 const QRectF &canvasRect,
int from,
int to ) const
QWT_OVERRIDE;
109 virtual QRectF boundingRect() const QWT_OVERRIDE;
112 int index, const QSizeF & ) const QWT_OVERRIDE;
119 const QwtIntervalSample & ) const;
121 void drawColumns( QPainter *,
122 const QwtScaleMap &xMap, const QwtScaleMap &yMap,
123 int from,
int to ) const;
125 void drawOutline( QPainter *,
126 const QwtScaleMap &xMap, const QwtScaleMap &yMap,
127 int from,
int to ) const;
129 void drawLines( QPainter *,
130 const QwtScaleMap &xMap, const QwtScaleMap &yMap,
131 int from,
int to ) const;
135 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.