MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / QCPErrorBars

Method QCPErrorBars

qcustomplot/qcustomplot.cpp:27202–27211  ·  view source on GitHub ↗

! Constructs an error bars plottable 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. It is a

Source from the content-addressed store, hash-verified

27200 delete it manually but use \ref QCustomPlot::removePlottable() instead.
27201*/
27202QCPErrorBars::QCPErrorBars(QCPAxis *keyAxis, QCPAxis *valueAxis) :
27203 QCPAbstractPlottable(keyAxis, valueAxis),
27204 mDataContainer(new QVector<QCPErrorBarsData>),
27205 mErrorType(etValueError),
27206 mWhiskerWidth(9),
27207 mSymbolGap(10)
27208{
27209 setPen(QPen(Qt::black, 0));
27210 setBrush(Qt::NoBrush);
27211}
27212
27213QCPErrorBars::~QCPErrorBars()
27214{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected