I want to map the horizontal slider to the graph (Y axis), Such that when it is dragged based on the value in the horizontal slider the graph should be zoomed . I asked the same In QCustomPlot forum but no response from them, Thats why I amasking in Here .