| 307 | } |
| 308 | |
| 309 | void PlotWidgetBase::applyRectToAxes(const QRectF& rect) { |
| 310 | plot_->setAxisScale(QwtPlot::yLeft, std::min(rect.bottom(), rect.top()), std::max(rect.bottom(), rect.top())); |
| 311 | plot_->setAxisScale(QwtPlot::xBottom, std::min(rect.left(), rect.right()), std::max(rect.left(), rect.right())); |
| 312 | plot_->updateAxes(); |
| 313 | } |
| 314 | |
| 315 | Range<double> PlotWidgetBase::getVisualizationRangeX() const { |
| 316 | double left = std::numeric_limits<double>::max(); |
nothing calls this directly
no test coverage detected