First of all, QCustomPlot is great, thanks for this.
I am trying to stack multiple QCPGraph elements. Showing the graphs works fine.
Dragging and zooming is always performed on the last added graph.
What I want is to switch between the graphs for interaction.
It seems I am not clever enough for this. I tried several things. What worked best was to set zoom- and drag axes of all stacked graphs to the currently selected. But this will not affect zooming on the axis to just zoom horizontally/vertically.
How can I set the whole CPGraphItem to be on top and handle all incoming events?
Thank you very much in advance and again, thanks for this great piece of code.