QCustomPlot Discussion and Comments

how to zoom on graph without zooming on Items Return to overview

I've read something about it on one of threads but it wasn't clear to me, by the way, here is my question:
I have one plot and one item(my item is a rectangle) on graph screen, when make it to zoom on plot, item will zoom too but I want to zoom only on plot and my Item be fix. please help me.

thanks in advance,

You have to change the position type on the positions (topLeft and bottomRight in the QCPItemRect case) of your item. This is explained in this thread:

Also have a look at the item demo in the examples project.