Added new param to remove last data point from graph.