Added ability to select datapoints in the graph