MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / QCPStatisticalBox

Method QCPStatisticalBox

qcustomplot.cpp:24534–24546  ·  view source on GitHub ↗

! Constructs a statistical box which uses \a keyAxis as its key axis ("x") and \a valueAxis as its value axis ("y"). \a keyAxis and \a valueAxis must reside in the same QCustomPlot instance and not have the same orientation. If either of these restrictions is violated, a corresponding message is printed to the debug output (qDebug), the construction is not aborted, though. The created

Source from the content-addressed store, hash-verified

24532 delete it manually but use QCustomPlot::removePlottable() instead.
24533*/
24534QCPStatisticalBox::QCPStatisticalBox(QCPAxis *keyAxis, QCPAxis *valueAxis) :
24535 QCPAbstractPlottable1D<QCPStatisticalBoxData>(keyAxis, valueAxis),
24536 mWidth(0.5),
24537 mWhiskerWidth(0.2),
24538 mWhiskerPen(Qt::black, 0, Qt::DashLine, Qt::FlatCap),
24539 mWhiskerBarPen(Qt::black),
24540 mWhiskerAntialiased(false),
24541 mMedianPen(Qt::black, 3, Qt::SolidLine, Qt::FlatCap),
24542 mOutlierStyle(QCPScatterStyle::ssCircle, Qt::blue, 6)
24543{
24544 setPen(QPen(Qt::black));
24545 setBrush(Qt::NoBrush);
24546}
24547
24548/*! \overload
24549

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected