MCPcopy Create free account
hub / github.com/KDE/labplot / updateErrorBars

Method updateErrorBars

src/backend/worksheet/plots/cartesian/BarPlot.cpp:1229–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1227}
1228
1229void 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.

Callers

nothing calls this directly

Calls 2

painterPathMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected