private static XYSeriesCollection createDataset(String name) {
		XYSeries series = new XYSeries(name);
		series.setMaximumItemCount(MAX_DATA_COUNT);
		//Fill graph with minimum data to ensure the x-axis scales fully
		for(int i = -MAX_DATA_COUNT; i <= 0; i++){
			series.add(i, 0);
		}


		return new XYSeriesCollection(series);
	}