MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / setMax

Method setMax

gui/src/plotaxis.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void PlotAxis::setMax(double newMax)
160{
161 if(qFuzzyCompare(m_max, newMax))
162 return;
163 m_max = newMax;
164 emit maxChanged(newMax);
165}
166
167BasicScaleDraw *PlotAxis::scaleDraw() const { return m_scaleDraw; }
168

Callers 3

onInitMethod · 0.45
updateXAxisMethod · 0.45
setYModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected