return the graph by price