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

Method setSubTickCount

qcustomplot/qcustomplot.cpp:6583–6589  ·  view source on GitHub ↗

! Sets the number of sub ticks that shall appear between ticks. For QCPAxisTickerText, there is no automatic sub tick count calculation. So if sub ticks are needed, they must be configured with this method. */

Source from the content-addressed store, hash-verified

6581 method.
6582*/
6583void QCPAxisTickerText::setSubTickCount(int subTicks)
6584{
6585 if (subTicks >= 0)
6586 mSubTickCount = subTicks;
6587 else
6588 qDebug() << Q_FUNC_INFO << "sub tick count can't be negative:" << subTicks;
6589}
6590
6591/*!
6592 Clears all ticks.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected