QCustomPlot Discussion and Comments

Mouse values with multiple axesReturn to overview

Hi Everyone!

I am trying to get mouse position with customplot. It works properly with one axis, but by having multiple axes it is giving values based on one axis (i.e. main axis/Y1 axis). Please suggest me to change this behavior with multiple axes and random axis is being the active axis.


each axis has functions called 'pixelToCoord' and 'coordToPixel', usually you use these to convert between the coordinate and the pixel for each axis. alternatively, i think abstractPlottable has 'pixelsToCoords' and 'coordsToPixels' that convert both axis for the specific graph you are looking at.

Thanks for the help. I will try in this way.