! \internal Returns the whisker bars (keys in x, values in y of the returned lines) that are placed at the end of the whisker backbones, at the minimum and maximum of the data given by \a it. \see drawStatisticalBox, getQuartileBox, getWhiskerBackboneLines */
| 24985 | \see drawStatisticalBox, getQuartileBox, getWhiskerBackboneLines |
| 24986 | */ |
| 24987 | QVector<QLineF> QCPStatisticalBox::getWhiskerBarLines(QCPStatisticalBoxDataContainer::const_iterator it) const |
| 24988 | { |
| 24989 | QVector<QLineF> result(2); |
| 24990 | result[0].setPoints(coordsToPixels(it->key-mWhiskerWidth*0.5, it->minimum), coordsToPixels(it->key+mWhiskerWidth*0.5, it->minimum)); // min bar |
| 24991 | result[1].setPoints(coordsToPixels(it->key-mWhiskerWidth*0.5, it->maximum), coordsToPixels(it->key+mWhiskerWidth*0.5, it->maximum)); // max bar |
| 24992 | return result; |
| 24993 | } |
| 24994 | /* end of 'src/plottables/plottable-statisticalbox.cpp' */ |
| 24995 | |
| 24996 |
nothing calls this directly
no outgoing calls
no test coverage detected