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

Method setTickLengthOut

qcustomplot/qcustomplot.cpp:8118–8125  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

8116 \see setTickLengthIn, setTickLength, setSubTickLength
8117*/
8118void QCPAxis::setTickLengthOut(int outside)
8119{
8120 if (mAxisPainter->tickLengthOut != outside)
8121 {
8122 mAxisPainter->tickLengthOut = outside;
8123 mCachedMarginValid = false; // only outside tick length can change margin
8124 }
8125}
8126
8127/*!
8128 Sets whether sub tick marks are displayed.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected