| 342 | void PlotWidget::setShowXAxisLabels(bool newShowXAxisLabels) { m_showXAxisLabels = newShowXAxisLabels; } |
| 343 | |
| 344 | void PlotWidget::showAxisLabels() |
| 345 | { |
| 346 | if(m_selectedChannel != nullptr) { |
| 347 | m_selectedChannel->xAxis()->setVisible(m_showXAxisLabels); |
| 348 | m_selectedChannel->yAxis()->setVisible(m_showYAxisLabels); |
| 349 | } else { |
| 350 | xAxis()->setVisible(m_showXAxisLabels); |
| 351 | yAxis()->setVisible(m_showXAxisLabels); |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | void PlotWidget::selectChannel(PlotChannel *ch) |
| 356 | { |
no test coverage detected