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

Method rescaleAxes

src/qt/qcustomplot.cpp:10983–10987  ·  view source on GitHub ↗

! Rescales the key and value axes associated with this plottable to contain all displayed data, so the whole plottable is visible. If the scaling of an axis is logarithmic, rescaleAxes will make sure not to rescale to an illegal range i.e. a range containing different signs and/or zero. Instead it will stay in the current sign domain and ignore all parts of the plottable that lie outside

Source from the content-addressed store, hash-verified

10981 \see rescaleKeyAxis, rescaleValueAxis, QCustomPlot::rescaleAxes, QCPAxis::rescale
10982*/
10983void QCPAbstractPlottable::rescaleAxes(bool onlyEnlarge) const
10984{
10985 rescaleKeyAxis(onlyEnlarge);
10986 rescaleValueAxis(onlyEnlarge);
10987}
10988
10989/*!
10990 Rescales the key axis of the plottable so the whole plottable is visible.

Callers

nothing calls this directly

Calls 3

axesMethod · 0.80
rescaleMethod · 0.80
Q_FOREACHFunction · 0.70

Tested by

no test coverage detected