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

Method plotChannelChangeYAxis

gui/src/plotwidget.cpp:146–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void PlotWidget::plotChannelChangeYAxis(PlotChannel *c, PlotAxis *y)
147{
148 m_navigator->removeChannel(c);
149 m_tracker->removeChannel(c);
150 c->yAxis()->setVisible(false);
151 c->setYAxis(y);
152 m_navigator->addChannel(c);
153 m_tracker->addChannel(c);
154 showAxisLabels();
155
156 Q_EMIT channelSelected(c);
157}
158
159void PlotWidget::addPlotChannel(PlotChannel *ch)
160{

Callers 3

onYAxisChangedMethod · 0.80
lockYAxisMethod · 0.80
lockYAxisMethod · 0.80

Calls 5

removeChannelMethod · 0.45
setVisibleMethod · 0.45
yAxisMethod · 0.45
setYAxisMethod · 0.45
addChannelMethod · 0.45

Tested by

no test coverage detected