QCustomPlot Discussion and Comments

Custom mouse button to drag plotReturn to overview

Can I assign custom mouse button for drag x and y axis ?.

Not yet, maybe soon if my work on interactions is integrated. Would you like to test it ?

Is there any news on custom mouse button for drag ?

Has been easily doable for a long time, via attaching a slot to the mouse dragging signals. Since QCP 2.0 you can further realize this by subclassing QCPAxisRect and reimplementing its mouse events.


thanks for the answer.

Don't you think it could be a nice option to be able to choose the drag button directly in basic QCPAxisRect class ?

If I subclass QCPAxisRect. How can I use it in a QCustomPlot ?