example of how to bind pick point events in a plot