QCustomPlot Discussion and Comments

RangeZoom and RangeDrag only in one of multi axis regs plot ?Return to overview
December 3, 2024, 12:59
by Mario

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.

December 3, 2024, 13:08
by Mario

This function solved my problem :-)
setRangeZoomAxes( x, y)
setRangeDragAxes(x, y)

AltStyle によって変換されたページ (->オリジナル) /