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

Method getWhiskerBackboneLines

qcustomplot/qcustomplot.cpp:24972–24978  ·  view source on GitHub ↗

! \internal Returns the whisker backbones (keys in x, values in y of the returned lines) that cover the value range from the minimum to the lower quartile, and from the upper quartile to the maximum of the data given by \a it. \see drawStatisticalBox, getQuartileBox, getWhiskerBarLines */

Source from the content-addressed store, hash-verified

24970 \see drawStatisticalBox, getQuartileBox, getWhiskerBarLines
24971*/
24972QVector<QLineF> QCPStatisticalBox::getWhiskerBackboneLines(QCPStatisticalBoxDataContainer::const_iterator it) const
24973{
24974 QVector<QLineF> result(2);
24975 result[0].setPoints(coordsToPixels(it->key, it->lowerQuartile), coordsToPixels(it->key, it->minimum)); // min backbone
24976 result[1].setPoints(coordsToPixels(it->key, it->upperQuartile), coordsToPixels(it->key, it->maximum)); // max backbone
24977 return result;
24978}
24979
24980/*! \internal
24981

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected