MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setSubTickLengthOut

Method setSubTickLengthOut

qcustomplot/qcustomplot.cpp:8178–8185  ·  view source on GitHub ↗

! Sets the length of the outward subticks in pixels. \a outside is the length the subticks will reach outside the plot. If \a outside is greater than zero, the tick labels will increase their distance to the axis accordingly, so they won't collide with the ticks. \see setSubTickLengthIn, setSubTickLength, setTickLength */

Source from the content-addressed store, hash-verified

8176 \see setSubTickLengthIn, setSubTickLength, setTickLength
8177*/
8178void QCPAxis::setSubTickLengthOut(int outside)
8179{
8180 if (mAxisPainter->subTickLengthOut != outside)
8181 {
8182 mAxisPainter->subTickLengthOut = outside;
8183 mCachedMarginValid = false; // only outside tick length can change margin
8184 }
8185}
8186
8187/*!
8188 Sets the pen, the axis base line is drawn with.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected