only handle click on graph