Is it possible to set zoom and drag interaction only for one or two axis rects in a multi axis rect plot like example 17 (setupAdvancedAxesDemo) ?
Using customplot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom) make all axis zoom and dragable.
Is it possible to set zoom and drag interaction only for one or two axis rects in a multi axis rect plot like example 17 (setupAdvancedAxesDemo) ?
Using customplot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom) make all axis zoom and dragable.
This function solved my problem :-)
setRangeZoomAxes( x, y)
setRangeDragAxes(x, y)