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

Method updateGrid

src/backend/worksheet/plots/cartesian/Axis.cpp:2687–2689  ·  view source on GitHub ↗

! * called when the opacity of the grid was changes, update the grid graphics item */ TODO: this function is only needed for loaded projects where update() doesn't seem to be enough and we have to call gridItem->update() explicitly. This is not required for newly created plots/axes. Why is this difference?

Source from the content-addressed store, hash-verified

2685// and we have to call gridItem->update() explicitly.
2686// This is not required for newly created plots/axes. Why is this difference?
2687void AxisPrivate::updateGrid() {
2688 gridItem->update();
2689}
2690
2691void AxisPrivate::recalcShapeAndBoundingRect() {
2692 if (suppressRecalc)

Callers 1

initMethod · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected