@Override
	public void actionPerformed(ActionEvent e) {

		if (e.getSource() == viewBarChartButton) {
			BarChartSales demo = new BarChartSales("Sales History", account.getFirstquarter2014(),
					account.getSecondquarter2014(), account.getThirdquarter2014(), account
							.getFourthquarter2014(), account.getFirstquarter2013(), account
							.getSecondquarter2013(), account.getThirdquarter2013(), account
							.getFourthquarter2013(), account.getFirstquarter2012(), account
							.getSecondquarter2012(), account.getThirdquarter2012(), account
							.getFourthquarter2012());
		}

		if (e.getSource() == predictionChart) {
			PredictionChart predictionChart = new PredictionChart();
			predictionChart.buildPredictionChart(driver);
		}

		if (e.getSource() == allCharts) {
			AllProductsChart allProductsChart = new AllProductsChart();
			allProductsChart.buildPredictionChart(driver);
		}
	}