Is it possible to create a horizontal movable Thick line on a graph

Is it possible to create a horizontal movable Thick line on a graph.
when ever user drags and drops, it should retun the y axis value .