QCustomPlot Discussion and Comments

how to determine xaxis range after scrollReturn to overview

I have a graph that shows ecg, it is scrollable. The user can also click a button and move the view forward or back 30 seconds of data (setRange() values are changed). How do I determine what the xaxis range values are if the user scrolls the graph so that I can reset the values the setRange? I can't find anything such as a getRange().
thanks in advance

Do you just mean xAxis->range()?
There is also an event rangeChanged that is interesting for your case.

Thank you, that is exactly what I was looking for