10 #ifndef QWT_PLOT_BAR_CHART_H 11 #define QWT_PLOT_BAR_CHART_H 77 void setSamples( const
QVector<QPointF> & );
78 void setSamples( const
QVector<
double> & );
82 const QwtColumnSymbol *symbol() const;
85 LegendMode legendMode() const;
87 virtual
void drawSeries( QPainter *,
89 const QRectF &canvasRect,
int from,
int to ) const
QWT_OVERRIDE;
91 virtual QRectF boundingRect() const QWT_OVERRIDE;
93 virtual QwtColumnSymbol *specialSymbol(
94 int sampleIndex, const QPointF& ) const;
96 virtual
QwtText barTitle(
int sampleIndex ) const;
99 virtual
void drawSample( QPainter *painter,
101 const QRectF &canvasRect, const
QwtInterval &boundingInterval,
102 int index, const QPointF& sample ) const;
104 virtual
void drawBar( QPainter *,
105 int sampleIndex, const QPointF& sample,
110 const QRectF &canvasRect, const
QwtInterval &boundingInterval,
111 const QPointF& sample ) const;
114 QwtGraphic legendIcon(
int index, const QSizeF & ) const QWT_OVERRIDE;
A class representing an interval.
Abstract interface for iterating over samples.
A drawing primitive for columns.
Abstract base class for bar chart items.
QwtPlotBarChart displays a series of a values as bars.
Class storing a QwtSeriesData object.
A class representing a text.
A paint device for scalable graphics.
Directed rectangle representing bounding rectangle and orientation of a column.
Attributes of an entry on a legend.