QCPStatisticalBox Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>

Inheritance diagram for QCPStatisticalBox:
Collaboration diagram for QCPStatisticalBox:

Public Member Functions

 QCPStatisticalBox (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
double key () const
 
double minimum () const
 
double lowerQuartile () const
 
double median () const
 
double upperQuartile () const
 
double maximum () const
 
QVector< double > outliers () const
 
double width () const
 
double whiskerWidth () const
 
QPen whiskerPen () const
 
QPen whiskerBarPen () const
 
QPen medianPen () const
 
QCPScatterStyle outlierStyle () const
 
void setKey (double key)
 
void setMinimum (double value)
 
void setLowerQuartile (double value)
 
void setMedian (double value)
 
void setUpperQuartile (double value)
 
void setMaximum (double value)
 
void setOutliers (const QVector< double > &values)
 
void setData (double key, double minimum, double lowerQuartile, double median, double upperQuartile, double maximum)
 
void setWidth (double width)
 
void setWhiskerWidth (double width)
 
void setWhiskerPen (const QPen &pen)
 
void setWhiskerBarPen (const QPen &pen)
 
void setMedianPen (const QPen &pen)
 
void setOutlierStyle (const QCPScatterStyle &style)
 
virtual void clearData ()
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
 QCPStatisticalBox (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
QSharedPointer< QCPStatisticalBoxDataContainerdata () const
 
double width () const
 
double whiskerWidth () const
 
QPen whiskerPen () const
 
QPen whiskerBarPen () const
 
bool whiskerAntialiased () const
 
QPen medianPen () const
 
QCPScatterStyle outlierStyle () const
 
void setData (QSharedPointer< QCPStatisticalBoxDataContainer > data)
 
void setData (const QVector< double > &keys, const QVector< double > &minimum, const QVector< double > &lowerQuartile, const QVector< double > &median, const QVector< double > &upperQuartile, const QVector< double > &maximum, bool alreadySorted=false)
 
void setWidth (double width)
 
void setWhiskerWidth (double width)
 
void setWhiskerPen (const QPen &pen)
 
void setWhiskerBarPen (const QPen &pen)
 
void setWhiskerAntialiased (bool enabled)
 
void setMedianPen (const QPen &pen)
 
void setOutlierStyle (const QCPScatterStyle &style)
 
void addData (const QVector< double > &keys, const QVector< double > &minimum, const QVector< double > &lowerQuartile, const QVector< double > &median, const QVector< double > &upperQuartile, const QVector< double > &maximum, bool alreadySorted=false)
 
void addData (double key, double minimum, double lowerQuartile, double median, double upperQuartile, double maximum, const QVector< double > &outliers=QVector< double >())
 
virtual QCPDataSelection selectTestRect (const QRectF &rect, bool onlySelectable) const Q_DECL_OVERRIDE
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE
 
virtual QCPRange getKeyRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_DECL_OVERRIDE
 
virtual QCPRange getValueRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const QCPRange &inKeyRange=QCPRange()) const Q_DECL_OVERRIDE
 
 QCPStatisticalBox (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
double key () const
 
double minimum () const
 
double lowerQuartile () const
 
double median () const
 
double upperQuartile () const
 
double maximum () const
 
QVector< double > outliers () const
 
double width () const
 
double whiskerWidth () const
 
QPen whiskerPen () const
 
QPen whiskerBarPen () const
 
QPen medianPen () const
 
QCPScatterStyle outlierStyle () const
 
void setKey (double key)
 
void setMinimum (double value)
 
void setLowerQuartile (double value)
 
void setMedian (double value)
 
void setUpperQuartile (double value)
 
void setMaximum (double value)
 
void setOutliers (const QVector< double > &values)
 
void setData (double key, double minimum, double lowerQuartile, double median, double upperQuartile, double maximum)
 
void setWidth (double width)
 
void setWhiskerWidth (double width)
 
void setWhiskerPen (const QPen &pen)
 
void setWhiskerBarPen (const QPen &pen)
 
void setMedianPen (const QPen &pen)
 
void setOutlierStyle (const QCPScatterStyle &style)
 
virtual void clearData ()
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
- Public Member Functions inherited from QCPAbstractPlottable
 QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
QString name () const
 
bool antialiasedFill () const
 
bool antialiasedScatters () const
 
bool antialiasedErrorBars () const
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
QCPAxiskeyAxis () const
 
QCPAxisvalueAxis () const
 
bool selectable () const
 
bool selected () const
 
void setName (const QString &name)
 
void setAntialiasedFill (bool enabled)
 
void setAntialiasedScatters (bool enabled)
 
void setAntialiasedErrorBars (bool enabled)
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
void setKeyAxis (QCPAxis *axis)
 
void setValueAxis (QCPAxis *axis)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
virtual bool addToLegend ()
 
virtual bool removeFromLegend () const
 
void rescaleAxes (bool onlyEnlarge=false) const
 
void rescaleKeyAxis (bool onlyEnlarge=false) const
 
void rescaleValueAxis (bool onlyEnlarge=false) const
 
 QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPAbstractPlottable ()
 
QString name () const
 
bool antialiasedFill () const
 
bool antialiasedScatters () const
 
QPen pen () const
 
QBrush brush () const
 
QCPAxiskeyAxis () const
 
QCPAxisvalueAxis () const
 
QCP::SelectionType selectable () const
 
bool selected () const
 
QCPDataSelection selection () const
 
QCPSelectionDecoratorselectionDecorator () const
 
void setName (const QString &name)
 
void setAntialiasedFill (bool enabled)
 
void setAntialiasedScatters (bool enabled)
 
void setPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setKeyAxis (QCPAxis *axis)
 
void setValueAxis (QCPAxis *axis)
 
Q_SLOT void setSelectable (QCP::SelectionType selectable)
 
Q_SLOT void setSelection (QCPDataSelection selection)
 
void setSelectionDecorator (QCPSelectionDecorator *decorator)
 
void coordsToPixels (double key, double value, double &x, double &y) const
 
const QPointF coordsToPixels (double key, double value) const
 
void pixelsToCoords (double x, double y, double &key, double &value) const
 
void pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const
 
void rescaleAxes (bool onlyEnlarge=false) const
 
void rescaleKeyAxis (bool onlyEnlarge=false) const
 
void rescaleValueAxis (bool onlyEnlarge=false, bool inKeyRange=false) const
 
bool addToLegend (QCPLegend *legend)
 
bool addToLegend ()
 
bool removeFromLegend (QCPLegend *legend) const
 
bool removeFromLegend () const
 
 QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
QString name () const
 
bool antialiasedFill () const
 
bool antialiasedScatters () const
 
bool antialiasedErrorBars () const
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
QCPAxiskeyAxis () const
 
QCPAxisvalueAxis () const
 
bool selectable () const
 
bool selected () const
 
void setName (const QString &name)
 
void setAntialiasedFill (bool enabled)
 
void setAntialiasedScatters (bool enabled)
 
void setAntialiasedErrorBars (bool enabled)
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
void setKeyAxis (QCPAxis *axis)
 
void setValueAxis (QCPAxis *axis)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
virtual bool addToLegend ()
 
virtual bool removeFromLegend () const
 
void rescaleAxes (bool onlyEnlarge=false) const
 
void rescaleKeyAxis (bool onlyEnlarge=false) const
 
void rescaleValueAxis (bool onlyEnlarge=false) const
 
- Public Member Functions inherited from QCPLayerable
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () const
 
bool antialiased () const
 
void setVisible (bool on)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setAntialiased (bool enabled)
 
bool realVisibility () const
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
virtual ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () const
 
bool antialiased () const
 
void setVisible (bool on)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setAntialiased (bool enabled)
 
bool realVisibility () const
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () const
 
bool antialiased () const
 
void setVisible (bool on)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setAntialiased (bool enabled)
 
bool realVisibility () const
 
- Public Member Functions inherited from QCPAbstractPlottable1D< QCPStatisticalBoxData >
 QCPAbstractPlottable1D (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPAbstractPlottable1D ()
 
virtual int dataCount () const Q_DECL_OVERRIDE
 
virtual double dataMainKey (int index) const Q_DECL_OVERRIDE
 
virtual double dataSortKey (int index) const Q_DECL_OVERRIDE
 
virtual double dataMainValue (int index) const Q_DECL_OVERRIDE
 
virtual QCPRange dataValueRange (int index) const Q_DECL_OVERRIDE
 
virtual QPointF dataPixelPosition (int index) const Q_DECL_OVERRIDE
 
virtual bool sortKeyIsMainKey () const Q_DECL_OVERRIDE
 
virtual int findBegin (double sortKey, bool expandedRange=true) const Q_DECL_OVERRIDE
 
virtual int findEnd (double sortKey, bool expandedRange=true) const Q_DECL_OVERRIDE
 
virtual QCPPlottableInterface1Dinterface1D () Q_DECL_OVERRIDE
 
- Public Member Functions inherited from QCPPlottableInterface1D
virtual ~QCPPlottableInterface1D ()
 

Protected Member Functions

virtual void draw (QCPPainter *painter)
 
virtual void drawLegendIcon (QCPPainter *painter, const QRectF &rect) const
 
virtual QCPRange getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual QCPRange getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual void drawQuartileBox (QCPPainter *painter, QRectF *quartileBox=0) const
 
virtual void drawMedian (QCPPainter *painter) const
 
virtual void drawWhiskers (QCPPainter *painter) const
 
virtual void drawOutliers (QCPPainter *painter) const
 
virtual void draw (QCPPainter *painter) Q_DECL_OVERRIDE
 
virtual void drawLegendIcon (QCPPainter *painter, const QRectF &rect) const Q_DECL_OVERRIDE
 
virtual void drawStatisticalBox (QCPPainter *painter, QCPStatisticalBoxDataContainer::const_iterator it, const QCPScatterStyle &outlierStyle) const
 
void getVisibleDataBounds (QCPStatisticalBoxDataContainer::const_iterator &begin, QCPStatisticalBoxDataContainer::const_iterator &end) const
 
QRectF getQuartileBox (QCPStatisticalBoxDataContainer::const_iterator it) const
 
QVector< QLineF > getWhiskerBackboneLines (QCPStatisticalBoxDataContainer::const_iterator it) const
 
QVector< QLineF > getWhiskerBarLines (QCPStatisticalBoxDataContainer::const_iterator it) const
 
virtual void draw (QCPPainter *painter)
 
virtual void drawLegendIcon (QCPPainter *painter, const QRectF &rect) const
 
virtual QCPRange getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual QCPRange getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual void drawQuartileBox (QCPPainter *painter, QRectF *quartileBox=0) const
 
virtual void drawMedian (QCPPainter *painter) const
 
virtual void drawWhiskers (QCPPainter *painter) const
 
virtual void drawOutliers (QCPPainter *painter) const
 
- Protected Member Functions inherited from QCPAbstractPlottable
virtual QRect clipRect () const
 
virtual QCP::Interaction selectionCategory () const
 
void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
void coordsToPixels (double key, double value, double &x, double &y) const
 
const QPointF coordsToPixels (double key, double value) const
 
void pixelsToCoords (double x, double y, double &key, double &value) const
 
void pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const
 
QPen mainPen () const
 
QBrush mainBrush () const
 
void applyFillAntialiasingHint (QCPPainter *painter) const
 
void applyScattersAntialiasingHint (QCPPainter *painter) const
 
void applyErrorBarsAntialiasingHint (QCPPainter *painter) const
 
double distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const
 
virtual QRect clipRect () const Q_DECL_OVERRIDE
 
virtual QCP::Interaction selectionCategory () const Q_DECL_OVERRIDE
 
void applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) Q_DECL_OVERRIDE
 
virtual void deselectEvent (bool *selectionStateChanged) Q_DECL_OVERRIDE
 
void applyFillAntialiasingHint (QCPPainter *painter) const
 
void applyScattersAntialiasingHint (QCPPainter *painter) const
 
virtual QRect clipRect () const
 
virtual QCP::Interaction selectionCategory () const
 
void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
void coordsToPixels (double key, double value, double &x, double &y) const
 
const QPointF coordsToPixels (double key, double value) const
 
void pixelsToCoords (double x, double y, double &key, double &value) const
 
void pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const
 
QPen mainPen () const
 
QBrush mainBrush () const
 
void applyFillAntialiasingHint (QCPPainter *painter) const
 
void applyScattersAntialiasingHint (QCPPainter *painter) const
 
void applyErrorBarsAntialiasingHint (QCPPainter *painter) const
 
double distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const
 
- Protected Member Functions inherited from QCPLayerable
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
virtual void mousePressEvent (QMouseEvent *event, const QVariant &details)
 
virtual void mouseMoveEvent (QMouseEvent *event, const QPointF &startPos)
 
virtual void mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details)
 
virtual void wheelEvent (QWheelEvent *event)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
- Protected Member Functions inherited from QCPAbstractPlottable1D< QCPStatisticalBoxData >
void getDataSegments (QList< QCPDataRange > &selectedSegments, QList< QCPDataRange > &unselectedSegments) const
 
void drawPolyline (QCPPainter *painter, const QVector< QPointF > &lineData) const
 

Protected Attributes

QVector< double > mOutliers
 
double mKey
 
double mMinimum
 
double mLowerQuartile
 
double mMedian
 
double mUpperQuartile
 
double mMaximum
 
double mWidth
 
double mWhiskerWidth
 
QPen mWhiskerPen
 
QPen mWhiskerBarPen
 
QPen mMedianPen
 
QCPScatterStyle mOutlierStyle
 
bool mWhiskerAntialiased
 
- Protected Attributes inherited from QCPAbstractPlottable
QString mName
 
bool mAntialiasedFill
 
bool mAntialiasedScatters
 
bool mAntialiasedErrorBars
 
QPen mPen
 
QPen mSelectedPen
 
QBrush mBrush
 
QBrush mSelectedBrush
 
QPointer< QCPAxismKeyAxis
 
QPointer< QCPAxismValueAxis
 
bool mSelectable
 
bool mSelected
 
QCP::SelectionType mSelectable
 
QCPDataSelection mSelection
 
QCPSelectionDecoratormSelectionDecorator
 
- Protected Attributes inherited from QCPLayerable
bool mVisible
 
QCustomPlotmParentPlot
 
QPointer< QCPLayerablemParentLayerable
 
QCPLayermLayer
 
bool mAntialiased
 
- Protected Attributes inherited from QCPAbstractPlottable1D< QCPStatisticalBoxData >
QSharedPointer< QCPDataContainer< QCPStatisticalBoxData > > mDataContainer
 

Friends

class QCustomPlot
 
class QCPLegend
 

Additional Inherited Members

- Signals inherited from QCPAbstractPlottable
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
void selectionChanged (bool selected)
 
void selectionChanged (const QCPDataSelection &selection)
 
void selectableChanged (QCP::SelectionType selectable)
 
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
- Signals inherited from QCPLayerable
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
- Protected Types inherited from QCPAbstractPlottable
enum  SignDomain {
  sdNegative, sdBoth, sdPositive, sdNegative,
  sdBoth, sdPositive
}
 
enum  SignDomain {
  sdNegative, sdBoth, sdPositive, sdNegative,
  sdBoth, sdPositive
}
 

Constructor & Destructor Documentation

◆ QCPStatisticalBox() [1/3]

QCPStatisticalBox::QCPStatisticalBox ( QCPAxis keyAxis,
QCPAxis valueAxis 
)
explicit

◆ QCPStatisticalBox() [2/3]

QCPStatisticalBox::QCPStatisticalBox ( QCPAxis keyAxis,
QCPAxis valueAxis 
)
explicit

◆ QCPStatisticalBox() [3/3]

QCPStatisticalBox::QCPStatisticalBox ( QCPAxis keyAxis,
QCPAxis valueAxis 
)
explicit

Member Function Documentation

◆ addData() [1/2]

void QCPStatisticalBox::addData ( const QVector< double > &  keys,
const QVector< double > &  minimum,
const QVector< double > &  lowerQuartile,
const QVector< double > &  median,
const QVector< double > &  upperQuartile,
const QVector< double > &  maximum,
bool  alreadySorted = false 
)

◆ addData() [2/2]

void QCPStatisticalBox::addData ( double  key,
double  minimum,
double  lowerQuartile,
double  median,
double  upperQuartile,
double  maximum,
const QVector< double > &  outliers = QVector< double >() 
)

◆ clearData() [1/2]

virtual void QCPStatisticalBox::clearData ( )
virtual

Implements QCPAbstractPlottable.

◆ clearData() [2/2]

virtual void QCPStatisticalBox::clearData ( )
virtual

Implements QCPAbstractPlottable.

◆ data()

QSharedPointer<QCPStatisticalBoxDataContainer> QCPStatisticalBox::data ( ) const
inline

◆ draw() [1/3]

virtual void QCPStatisticalBox::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractPlottable.

◆ draw() [2/3]

virtual void QCPStatisticalBox::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractPlottable.

◆ draw() [3/3]

virtual void QCPStatisticalBox::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawLegendIcon() [1/3]

virtual void QCPStatisticalBox::drawLegendIcon ( QCPPainter painter,
const QRectF &  rect 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawLegendIcon() [2/3]

virtual void QCPStatisticalBox::drawLegendIcon ( QCPPainter painter,
const QRectF &  rect 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawLegendIcon() [3/3]

virtual void QCPStatisticalBox::drawLegendIcon ( QCPPainter painter,
const QRectF &  rect 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawMedian() [1/2]

virtual void QCPStatisticalBox::drawMedian ( QCPPainter painter) const
protectedvirtual

◆ drawMedian() [2/2]

virtual void QCPStatisticalBox::drawMedian ( QCPPainter painter) const
protectedvirtual

◆ drawOutliers() [1/2]

virtual void QCPStatisticalBox::drawOutliers ( QCPPainter painter) const
protectedvirtual

◆ drawOutliers() [2/2]

virtual void QCPStatisticalBox::drawOutliers ( QCPPainter painter) const
protectedvirtual

◆ drawQuartileBox() [1/2]

virtual void QCPStatisticalBox::drawQuartileBox ( QCPPainter painter,
QRectF *  quartileBox = 0 
) const
protectedvirtual

◆ drawQuartileBox() [2/2]

virtual void QCPStatisticalBox::drawQuartileBox ( QCPPainter painter,
QRectF *  quartileBox = 0 
) const
protectedvirtual

◆ drawStatisticalBox()

virtual void QCPStatisticalBox::drawStatisticalBox ( QCPPainter painter,
QCPStatisticalBoxDataContainer::const_iterator  it,
const QCPScatterStyle outlierStyle 
) const
protectedvirtual

◆ drawWhiskers() [1/2]

virtual void QCPStatisticalBox::drawWhiskers ( QCPPainter painter) const
protectedvirtual

◆ drawWhiskers() [2/2]

virtual void QCPStatisticalBox::drawWhiskers ( QCPPainter painter) const
protectedvirtual

◆ getKeyRange() [1/3]

virtual QCPRange QCPStatisticalBox::getKeyRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getKeyRange() [2/3]

virtual QCPRange QCPStatisticalBox::getKeyRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getKeyRange() [3/3]

virtual QCPRange QCPStatisticalBox::getKeyRange ( bool &  foundRange,
QCP::SignDomain  inSignDomain = QCP::sdBoth 
) const
virtual

Implements QCPAbstractPlottable.

◆ getQuartileBox()

QRectF QCPStatisticalBox::getQuartileBox ( QCPStatisticalBoxDataContainer::const_iterator  it) const
protected

◆ getValueRange() [1/3]

virtual QCPRange QCPStatisticalBox::getValueRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getValueRange() [2/3]

virtual QCPRange QCPStatisticalBox::getValueRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getValueRange() [3/3]

virtual QCPRange QCPStatisticalBox::getValueRange ( bool &  foundRange,
QCP::SignDomain  inSignDomain = QCP::sdBoth,
const QCPRange inKeyRange = QCPRange() 
) const
virtual

Implements QCPAbstractPlottable.

◆ getVisibleDataBounds()

void QCPStatisticalBox::getVisibleDataBounds ( QCPStatisticalBoxDataContainer::const_iterator begin,
QCPStatisticalBoxDataContainer::const_iterator end 
) const
protected

◆ getWhiskerBackboneLines()

QVector<QLineF> QCPStatisticalBox::getWhiskerBackboneLines ( QCPStatisticalBoxDataContainer::const_iterator  it) const
protected

◆ getWhiskerBarLines()

QVector<QLineF> QCPStatisticalBox::getWhiskerBarLines ( QCPStatisticalBoxDataContainer::const_iterator  it) const
protected

◆ key() [1/2]

double QCPStatisticalBox::key ( ) const
inline

◆ key() [2/2]

double QCPStatisticalBox::key ( ) const
inline

◆ lowerQuartile() [1/2]

double QCPStatisticalBox::lowerQuartile ( ) const
inline

◆ lowerQuartile() [2/2]

double QCPStatisticalBox::lowerQuartile ( ) const
inline

◆ maximum() [1/2]

double QCPStatisticalBox::maximum ( ) const
inline

◆ maximum() [2/2]

double QCPStatisticalBox::maximum ( ) const
inline

◆ median() [1/2]

double QCPStatisticalBox::median ( ) const
inline

◆ median() [2/2]

double QCPStatisticalBox::median ( ) const
inline

◆ medianPen() [1/3]

QPen QCPStatisticalBox::medianPen ( ) const
inline

◆ medianPen() [2/3]

QPen QCPStatisticalBox::medianPen ( ) const
inline

◆ medianPen() [3/3]

QPen QCPStatisticalBox::medianPen ( ) const
inline

◆ minimum() [1/2]

double QCPStatisticalBox::minimum ( ) const
inline

◆ minimum() [2/2]

double QCPStatisticalBox::minimum ( ) const
inline

◆ outliers() [1/2]

QVector<double> QCPStatisticalBox::outliers ( ) const
inline

◆ outliers() [2/2]

QVector<double> QCPStatisticalBox::outliers ( ) const
inline

◆ outlierStyle() [1/3]

QCPScatterStyle QCPStatisticalBox::outlierStyle ( ) const
inline

◆ outlierStyle() [2/3]

QCPScatterStyle QCPStatisticalBox::outlierStyle ( ) const
inline

◆ outlierStyle() [3/3]

QCPScatterStyle QCPStatisticalBox::outlierStyle ( ) const
inline

◆ selectTest() [1/3]

virtual double QCPStatisticalBox::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractPlottable.

◆ selectTest() [2/3]

virtual double QCPStatisticalBox::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractPlottable.

◆ selectTest() [3/3]

virtual double QCPStatisticalBox::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractPlottable.

◆ selectTestRect()

virtual QCPDataSelection QCPStatisticalBox::selectTestRect ( const QRectF &  rect,
bool  onlySelectable 
) const
virtual

Implements a rect-selection algorithm assuming the data (accessed via the 1D data interface) is point-like. Most subclasses will want to reimplement this method again, to provide a more accurate hit test based on the true data visualization geometry.

Reimplemented from QCPAbstractPlottable1D< QCPStatisticalBoxData >.

◆ setData() [1/4]

void QCPStatisticalBox::setData ( double  key,
double  minimum,
double  lowerQuartile,
double  median,
double  upperQuartile,
double  maximum 
)

◆ setData() [2/4]

void QCPStatisticalBox::setData ( double  key,
double  minimum,
double  lowerQuartile,
double  median,
double  upperQuartile,
double  maximum 
)

◆ setData() [3/4]

void QCPStatisticalBox::setData ( QSharedPointer< QCPStatisticalBoxDataContainer data)

◆ setData() [4/4]

void QCPStatisticalBox::setData ( const QVector< double > &  keys,
const QVector< double > &  minimum,
const QVector< double > &  lowerQuartile,
const QVector< double > &  median,
const QVector< double > &  upperQuartile,
const QVector< double > &  maximum,
bool  alreadySorted = false 
)

◆ setKey() [1/2]

void QCPStatisticalBox::setKey ( double  key)

◆ setKey() [2/2]

void QCPStatisticalBox::setKey ( double  key)

◆ setLowerQuartile() [1/2]

void QCPStatisticalBox::setLowerQuartile ( double  value)

◆ setLowerQuartile() [2/2]

void QCPStatisticalBox::setLowerQuartile ( double  value)

◆ setMaximum() [1/2]

void QCPStatisticalBox::setMaximum ( double  value)

◆ setMaximum() [2/2]

void QCPStatisticalBox::setMaximum ( double  value)

◆ setMedian() [1/2]

void QCPStatisticalBox::setMedian ( double  value)

◆ setMedian() [2/2]

void QCPStatisticalBox::setMedian ( double  value)

◆ setMedianPen() [1/3]

void QCPStatisticalBox::setMedianPen ( const QPen &  pen)

◆ setMedianPen() [2/3]

void QCPStatisticalBox::setMedianPen ( const QPen &  pen)

◆ setMedianPen() [3/3]

void QCPStatisticalBox::setMedianPen ( const QPen &  pen)

◆ setMinimum() [1/2]

void QCPStatisticalBox::setMinimum ( double  value)

◆ setMinimum() [2/2]

void QCPStatisticalBox::setMinimum ( double  value)

◆ setOutliers() [1/2]

void QCPStatisticalBox::setOutliers ( const QVector< double > &  values)

◆ setOutliers() [2/2]

void QCPStatisticalBox::setOutliers ( const QVector< double > &  values)

◆ setOutlierStyle() [1/3]

void QCPStatisticalBox::setOutlierStyle ( const QCPScatterStyle style)

◆ setOutlierStyle() [2/3]

void QCPStatisticalBox::setOutlierStyle ( const QCPScatterStyle style)

◆ setOutlierStyle() [3/3]

void QCPStatisticalBox::setOutlierStyle ( const QCPScatterStyle style)

◆ setUpperQuartile() [1/2]

void QCPStatisticalBox::setUpperQuartile ( double  value)

◆ setUpperQuartile() [2/2]

void QCPStatisticalBox::setUpperQuartile ( double  value)

◆ setWhiskerAntialiased()

void QCPStatisticalBox::setWhiskerAntialiased ( bool  enabled)

◆ setWhiskerBarPen() [1/3]

void QCPStatisticalBox::setWhiskerBarPen ( const QPen &  pen)

◆ setWhiskerBarPen() [2/3]

void QCPStatisticalBox::setWhiskerBarPen ( const QPen &  pen)

◆ setWhiskerBarPen() [3/3]

void QCPStatisticalBox::setWhiskerBarPen ( const QPen &  pen)

◆ setWhiskerPen() [1/3]

void QCPStatisticalBox::setWhiskerPen ( const QPen &  pen)

◆ setWhiskerPen() [2/3]

void QCPStatisticalBox::setWhiskerPen ( const QPen &  pen)

◆ setWhiskerPen() [3/3]

void QCPStatisticalBox::setWhiskerPen ( const QPen &  pen)

◆ setWhiskerWidth() [1/3]

void QCPStatisticalBox::setWhiskerWidth ( double  width)

◆ setWhiskerWidth() [2/3]

void QCPStatisticalBox::setWhiskerWidth ( double  width)

◆ setWhiskerWidth() [3/3]

void QCPStatisticalBox::setWhiskerWidth ( double  width)

◆ setWidth() [1/3]

void QCPStatisticalBox::setWidth ( double  width)

◆ setWidth() [2/3]

void QCPStatisticalBox::setWidth ( double  width)

◆ setWidth() [3/3]

void QCPStatisticalBox::setWidth ( double  width)

◆ upperQuartile() [1/2]

double QCPStatisticalBox::upperQuartile ( ) const
inline

◆ upperQuartile() [2/2]

double QCPStatisticalBox::upperQuartile ( ) const
inline

◆ whiskerAntialiased()

bool QCPStatisticalBox::whiskerAntialiased ( ) const
inline

◆ whiskerBarPen() [1/3]

QPen QCPStatisticalBox::whiskerBarPen ( ) const
inline

◆ whiskerBarPen() [2/3]

QPen QCPStatisticalBox::whiskerBarPen ( ) const
inline

◆ whiskerBarPen() [3/3]

QPen QCPStatisticalBox::whiskerBarPen ( ) const
inline

◆ whiskerPen() [1/3]

QPen QCPStatisticalBox::whiskerPen ( ) const
inline

◆ whiskerPen() [2/3]

QPen QCPStatisticalBox::whiskerPen ( ) const
inline

◆ whiskerPen() [3/3]

QPen QCPStatisticalBox::whiskerPen ( ) const
inline

◆ whiskerWidth() [1/3]

double QCPStatisticalBox::whiskerWidth ( ) const
inline

◆ whiskerWidth() [2/3]

double QCPStatisticalBox::whiskerWidth ( ) const
inline

◆ whiskerWidth() [3/3]

double QCPStatisticalBox::whiskerWidth ( ) const
inline

◆ width() [1/3]

double QCPStatisticalBox::width ( ) const
inline

◆ width() [2/3]

double QCPStatisticalBox::width ( ) const
inline

◆ width() [3/3]

double QCPStatisticalBox::width ( ) const
inline

Friends And Related Function Documentation

◆ QCPLegend

QCPLegend
friend

◆ QCustomPlot

QCustomPlot
friend

Member Data Documentation

◆ mKey

double QCPStatisticalBox::mKey
protected

◆ mLowerQuartile

double QCPStatisticalBox::mLowerQuartile
protected

◆ mMaximum

double QCPStatisticalBox::mMaximum
protected

◆ mMedian

double QCPStatisticalBox::mMedian
protected

◆ mMedianPen

QPen QCPStatisticalBox::mMedianPen
protected

◆ mMinimum

double QCPStatisticalBox::mMinimum
protected

◆ mOutliers

QVector< double > QCPStatisticalBox::mOutliers
protected

◆ mOutlierStyle

QCPScatterStyle QCPStatisticalBox::mOutlierStyle
protected

◆ mUpperQuartile

double QCPStatisticalBox::mUpperQuartile
protected

◆ mWhiskerAntialiased

bool QCPStatisticalBox::mWhiskerAntialiased
protected

◆ mWhiskerBarPen

QPen QCPStatisticalBox::mWhiskerBarPen
protected

◆ mWhiskerPen

QPen QCPStatisticalBox::mWhiskerPen
protected

◆ mWhiskerWidth

double QCPStatisticalBox::mWhiskerWidth
protected

◆ mWidth

double QCPStatisticalBox::mWidth
protected

The documentation for this class was generated from the following file: