| 146 | } |
| 147 | |
| 148 | void PlotManager::moveChannel(ChannelComponent *c, uint32_t uuid) |
| 149 | { |
| 150 | c->removeChannelFromPlot(); |
| 151 | c->plotChannelCmpt()->plotComponent()->removeChannel(c); |
| 152 | PlotComponent *plt = plot(uuid); |
| 153 | c->plotChannelCmpt()->initPlotComponent(plt); |
| 154 | c->addChannelToPlot(); |
| 155 | plt->addChannel(c); |
| 156 | plt->replot(); |
| 157 | } |
| 158 | |
| 159 | PlotComponent *PlotManager::plot(uint32_t uuid) |
| 160 | { |
no test coverage detected