MCPcopy Create free account
hub / github.com/LUX-Core/lux / setTickCount

Method setTickCount

src/qt/qcustomplot.cpp:5518–5524  ·  view source on GitHub ↗

! Sets how many ticks this ticker shall aim to generate across the axis range. Note that \a count is not guaranteed to be matched exactly, as generating readable tick intervals may conflict with the requested number of ticks. Whether the readability has priority over meeting the requested \a count can be specified with \ref setTickStepStrategy. */

Source from the content-addressed store, hash-verified

5516 \ref setTickStepStrategy.
5517*/
5518void QCPAxisTicker::setTickCount(int count)
5519{
5520 if (count > 0)
5521 mTickCount = count;
5522 else
5523 qDebug() << Q_FUNC_INFO << "tick count must be greater than zero:" << count;
5524}
5525
5526/*!
5527 Sets the mathematical coordinate (or "offset") of the zeroth tick. This tick coordinate is just a

Callers 1

setupFullAxesBoxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected