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

Method setTickLabels

src/qt/qcustomplot.cpp:7894–7903  ·  view source on GitHub ↗

! Sets whether tick labels are displayed. Tick labels are the numbers drawn next to tick marks. */

Source from the content-addressed store, hash-verified

7892 Sets whether tick labels are displayed. Tick labels are the numbers drawn next to tick marks.
7893*/
7894void QCPAxis::setTickLabels(bool show)
7895{
7896 if (mTickLabels != show)
7897 {
7898 mTickLabels = show;
7899 mCachedMarginValid = false;
7900 if (!mTickLabels)
7901 mTickVectorLabels.clear();
7902 }
7903}
7904
7905/*!
7906 Sets the distance between the axis base line (including any outward ticks) and the tick labels.

Callers 2

setupFullAxesBoxMethod · 0.80
Q_FOREACHFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected