now when you click the name of the graph, it actually gets graphed