| 1227 | } |
| 1228 | |
| 1229 | void BarPlotPrivate::updateErrorBars(int columnIndex) { |
| 1230 | if (m_valuesPointsLogical.isEmpty()) |
| 1231 | return; |
| 1232 | const auto* errorBar = errorBars.at(columnIndex); |
| 1233 | const auto& points = m_valuesPointsLogical.at(columnIndex); |
| 1234 | m_errorBarsPaths[columnIndex] = errorBar->painterPath(points, q->cSystem, orientation); |
| 1235 | recalcShapeAndBoundingRect(); |
| 1236 | } |
| 1237 | |
| 1238 | /*! |
| 1239 | recalculates the outer bounds and the shape of the item. |
nothing calls this directly
no test coverage detected