Changed the graph type