QRectFQwtPlotSeriesItem::boundingRect()const[virtual]Returns:
An invalid bounding rect: QRectF(1.0, 1.0, -2.0, -2.0)
Note:
A width or height < 0.0 is ignored by the autoscaler
Reimplemented from QwtPlotItem.
Reimplemented in QwtPlotTradingCurve, QwtPlotIntervalCurve, QwtPlotHistogram, QwtPlotBarChart, and
QwtPlotMultiBarChart.
voidQwtPlotSeriesItem::draw(QPainter*painter,constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQRectF&canvasRect)const[virtual]
Draw the complete series.
Parameters:painter Painter
xMap Maps x-values into pixel coordinates.
yMap Maps y-values into pixel coordinates.
canvasRect Contents rectangle of the canvas
Implements QwtPlotItem.
virtualvoidQwtPlotSeriesItem::drawSeries(QPainter*painter,constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQRectF&canvasRect,intfrom,intto)const[purevirtual]
Draw a subset of the samples
Parameters:painter Painter
xMap Maps x-values into pixel coordinates.
yMap Maps y-values into pixel coordinates.
canvasRect Contents rectangle of the canvas
from Index of the first point to be painted
to Index of the last point to be painted. If to < 0 the curve will be painted to its last point.
Implemented in QwtPlotCurve, QwtPlotTradingCurve, QwtPlotIntervalCurve, QwtPlotHistogram,
QwtPlotBarChart, QwtPlotMultiBarChart, and QwtPlotSpectroCurve.
Qt::OrientationQwtPlotSeriesItem::orientation()constReturns:
Orientation of the plot item
Seealso:setOrientation()voidQwtPlotSeriesItem::setOrientation(Qt::Orientationorientation)
Set the orientation of the item.
The orientation() might be used in specific way by a plot item. F.e. a QwtPlotCurve uses it to identify
how to display the curve int QwtPlotCurve::Steps or QwtPlotCurve::Sticks style.
Seealso:orientation()voidQwtPlotSeriesItem::updateScaleDiv(constQwtScaleDiv&xScaleDiv,constQwtScaleDiv&yScaleDiv)[virtual]
Update the item to changes of the axes scale division. Update the item, when the axes of plot have
changed. The default implementation does nothing, but items that depend on the scale division (like
QwtPlotGrid()) have to reimplement updateScaleDiv()updateScaleDiv() is only called when the ScaleInterest interest is enabled. The default implementation
does nothing.
Parameters:xScaleDiv Scale division of the x-axis
yScaleDiv Scale division of the y-axis
Seealso:QwtPlot::updateAxes(), ScaleInterest
Reimplemented from QwtPlotItem.