I would like to be able to use the selectionRectMode to only zoom on the x-axis. Ideally I would like the dotted rectangular selection box that appears to be fixed to the top and bottom of the y-axis while the x-axis position is determined from the mouse position. This way it is visually intuitive that the selection is not going to change the y-axis. Is there a mode or setting that makes this possible? What about the same thing but for the y-axis? I could get the functionality of this feature by using customPlot->setSelectionRectMode(QCP::srmCustom);
but unless there is a way to override the start/end position of the selected rectangle that appears it would not be the most visually intuitive.