10 #ifndef QWT_PLOT_MULTI_BAR_CHART_H 11 #define QWT_PLOT_MULTI_BAR_CHART_H 69 virtual int rtti()
const;
71 void setBarTitles(
const QList<QwtText> & );
72 QList<QwtText> barTitles()
const;
74 void setSamples(
const QVector<QwtSetSample> & );
75 void setSamples(
const QVector< QVector<double> > & );
84 void resetSymbolMap();
88 const QRectF &canvasRect,
int from,
int to )
const;
92 virtual QList<QwtLegendData>
legendData()
const;
100 int sampleIndex,
int valueIndex )
const;
102 virtual void drawSample( QPainter *painter,
104 const QRectF &canvasRect,
const QwtInterval &boundingInterval,
107 virtual void drawBar( QPainter *,
int sampleIndex,
110 void drawStackedBars( QPainter *painter,
112 const QRectF &canvasRect,
int index,
115 void drawGroupedBars( QPainter *painter,
117 const QRectF &canvasRect,
int index,
virtual QList< QwtLegendData > legendData() const
Return all information, that is needed to represent the item on the legend.
A class representing an interval.
A drawing primitive for columns.
QwtPlotMultiBarChart displays a series of a samples that consist each of a set of values...
Abstract base class for bar chart items.
A sample of the types (x1...xn, y) or (x, y1..yn)
Class storing a QwtSeriesData object.
virtual void drawSeries(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const =0
A class representing a text.
A paint device for scalable graphics.
virtual QwtGraphic legendIcon(int index, const QSizeF &) const
virtual QRectF boundingRect() const
Directed rectangle representing bounding rectangle and orientation of a column.
The bars of a set are displayed side by side.