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

Method setRangeZoomFactor

qcustomplot/qcustomplot.cpp:17669–17673  ·  view source on GitHub ↗

! Sets how strong one rotation step of the mouse wheel zooms, when range zoom was activated with \ref setRangeZoom. The two parameters \a horizontalFactor and \a verticalFactor provide a way to let the horizontal axis zoom at different rates than the vertical axis. Which axis is horizontal and which is vertical, can be set with \ref setRangeZoomAxes. When the zoom factor is greater than

Source from the content-addressed store, hash-verified

17667 same scrolling direction will zoom out.
17668*/
17669void QCPAxisRect::setRangeZoomFactor(double horizontalFactor, double verticalFactor)
17670{
17671 mRangeZoomFactorHorz = horizontalFactor;
17672 mRangeZoomFactorVert = verticalFactor;
17673}
17674
17675/*! \overload
17676

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected