MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / setRangeLower

Method setRangeLower

3rdparty/qcustomplot/qcustomplot.cpp:8504–8520  ·  view source on GitHub ↗

! Sets the lower bound of the axis range. The upper bound is not changed. \see setRange */

Source from the content-addressed store, hash-verified

8502 \see setRange
8503*/
8504void QCPAxis::setRangeLower(double lower)
8505{
8506 if (mRange.lower == lower)
8507 return;
8508
8509 QCPRange oldRange = mRange;
8510 mRange.lower = lower;
8511 if (mScaleType == stLogarithmic)
8512 {
8513 mRange = mRange.sanitizedForLogScale();
8514 } else
8515 {
8516 mRange = mRange.sanitizedForLinScale();
8517 }
8518 emit rangeChanged(mRange);
8519 emit rangeChanged(mRange, oldRange);
8520}
8521
8522/*!
8523 Sets the upper bound of the axis range. The lower bound is not changed.

Callers

nothing calls this directly

Calls 2

sanitizedForLogScaleMethod · 0.80
sanitizedForLinScaleMethod · 0.80

Tested by

no test coverage detected