10#include "qwt_plot_seriesitem.h"
11#include "qwt_scale_div.h"
14class QwtPlotSeriesItem::PrivateData
18 : orientation( Qt::Vertical )
22 Qt::Orientation orientation;
32 m_data =
new PrivateData();
43 m_data =
new PrivateData();
79 return m_data->orientation;
92 const QRectF& canvasRect )
const
94 drawSeries( painter, xMap, yMap, canvasRect, 0, -1 );
105 const QRectF rect = QRectF(
virtual QRectF dataRect() const =0
virtual void setRectOfInterest(const QRectF &)=0
Base class for items on the plot canvas.
virtual void legendChanged()
void setItemInterest(ItemInterest, bool on=true)
virtual void itemChanged()
Qt::Orientation orientation() const
virtual void dataChanged() override
dataChanged() indicates, that the series has been changed.
void setOrientation(Qt::Orientation)
virtual ~QwtPlotSeriesItem()
Destructor.
virtual void updateScaleDiv(const QwtScaleDiv &, const QwtScaleDiv &) override
Update the item to changes of the axes scale division.
virtual void draw(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override
Draw the complete series.
QwtPlotSeriesItem(const QString &title=QString())
virtual QRectF boundingRect() const override
virtual void drawSeries(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const =0
A class representing a scale division.
double lowerBound() const
A class representing a text.