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

Method plotChannelChangeXAxis

gui/src/plotwidget.cpp:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void PlotWidget::plotChannelChangeXAxis(PlotChannel *c, PlotAxis *x)
136{
137 m_navigator->removeChannel(c);
138 m_tracker->removeChannel(c);
139 c->xAxis()->setVisible(false);
140 c->setXAxis(x);
141 m_navigator->addChannel(c);
142 m_tracker->addChannel(c);
143 showAxisLabels();
144}
145
146void PlotWidget::plotChannelChangeYAxis(PlotChannel *c, PlotAxis *y)
147{

Callers

nothing calls this directly

Calls 5

removeChannelMethod · 0.45
setVisibleMethod · 0.45
xAxisMethod · 0.45
setXAxisMethod · 0.45
addChannelMethod · 0.45

Tested by

no test coverage detected