QCustomPlot Discussion and Comments

Is it possible to swap axis (x to y)Return to overview

Hallo! Please help me with one question.

I need to swap axis quite often.

Initially I thought that if I just rotate the whole widget and re scale using graphics and scene, everything will be OK, but the performance it's awful, looks really bad.

So I wonder if there is any easy (reasonably) method to swap axis directly in QCustomPlot.

you could probably just swap the data, or have a second graph using xAxis2 and yAxis2 where the data is flipped, and then just hide/show the graph and the extra axis.