MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / setPadding

Method setPadding

qcustomplot.cpp:8278–8285  ·  view source on GitHub ↗

! Sets the padding of the axis. When \ref QCPAxisRect::setAutoMargins is enabled, the padding is the additional outer most space, that is left blank. The axis padding has no meaning if \ref QCPAxisRect::setAutoMargins is disabled. \see setLabelPadding, setTickLabelPadding */

Source from the content-addressed store, hash-verified

8276 \see setLabelPadding, setTickLabelPadding
8277*/
8278void QCPAxis::setPadding(int padding)
8279{
8280 if (mPadding != padding)
8281 {
8282 mPadding = padding;
8283 mCachedMarginValid = false;
8284 }
8285}
8286
8287/*!
8288 Sets the offset the axis has to its axis rect side.

Callers 1

foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected