private JFreeChart createChart(XYDataset dataset, String title) {
		System.out.println("Create Chart");
		JFreeChart chart = ChartFactory.createXYLineChart(title, "Time",
				"Vehicles", dataset);

		chart.setBackgroundPaint(Color.WHITE);

		XYPlot plot = (XYPlot) chart.getPlot();
		plot.setBackgroundPaint(Color.LIGHT_GRAY);
		plot.setDomainGridlinePaint(Color.white);
		plot.setRangeGridlinePaint(Color.white);
		plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
		plot.setDomainCrosshairVisible(true);
		plot.setRangeCrosshairVisible(true);

		return chart;
	}