QCustomPlot Discussion and Comments

how to cut the plot by X axis?Return to overview

with huge amount of data my plot looks like this https://imgur.com/a/Ji9M01a , my solution is to cut the plot by X axis (to allow user see only part of the plot and let him change that part). how can I make this?

p.s I know about zoom by scroll button, button I need to change only X axis range, zoom changes range of both axes

see QCPAxisRect::setRangeZoomAxes and QCPAxisRect::setRangeZoomAxes

see QCPAxisRect::setRangeDragAxes and QCPAxisRect::setRangeZoomAxes