added valueAtClicks to plotting

Can get values from a Plot under the mouse clicks