QCustomPlot Discussion and Comments

zooming just on plot & no zooming on itemsReturn to overview

Hi,
I want to zoom on graph contains an item on my graph that I don't want to zoom on item and just zoom to plot.

please help

I'm not 100% sure I understood you correctly, but maybe this can help:
Change the type of the item's position to ptAxisRectRatio, ptViewportRatio or ptAbsolute. This way the item won't be attached to the coordinate system of the plot. For the details of those different position types, see the documentation of QCPItemPosition.

tanks, I'll try this and let you know about the results

could you please give me an example? I don't know how exactly use this class.
best regards.

See the item demo in the examples project.

thanks a lot,

Thanks,
That actually helped a lot.