! Sets which axis orientation may be range dragged by the user with mouse interaction. What orientation corresponds to which specific axis can be set with \ref setRangeDragAxes(QCPAxis *horizontal, QCPAxis *vertical). By default, the horizontal axis is the bottom axis (xAxis) and the vertical axis is the left axis (yAxis). To disable range dragging entirely, pass \c nullptr as \a or
| 18223 | \see setRangeZoom, setRangeDragAxes, QCustomPlot::setNoAntialiasingOnDrag |
| 18224 | */ |
| 18225 | void QCPAxisRect::setRangeDrag(Qt::Orientations orientations) |
| 18226 | { |
| 18227 | mRangeDrag = orientations; |
| 18228 | } |
| 18229 | |
| 18230 | /*! |
| 18231 | Sets which axis orientation may be zoomed by the user with the mouse wheel. What orientation |
no test coverage detected