<%
  // Copy this table definition to a file named EngergyData.jsp
  // so it can be included in the BarChart sample programs

	table.addColumn(1, java.lang.String.class, null);
	table.setColumnLabel(1, "EnergyType");
	table.addColumn(2, java.lang.String.class, null);
	table.setColumnLabel(2, "Year");
	table.addColumn(3, java.lang.Double.class, null);
	table.setColumnLabel(3, "Produced");
	table.addColumn(4, java.lang.Double.class, null);
	table.setColumnLabel(4, "Consumed");

	table.addRow(1);
	table.addRow(2);
	table.addRow(3);
	table.addRow(4);
	table.addRow(5);
	table.addRow(6);
	table.addRow(7);
	table.addRow(8);
	table.addRow(9);
	table.addRow(10);
	table.addRow(11);
	table.addRow(12);
	table.addRow(13);
	table.addRow(14);
	table.addRow(15);
	table.addRow(16);
	table.addRow(17);
	table.addRow(18);
	table.addRow(19);
	table.addRow(20);
	table.addRow(21);
	table.addRow(22);
	table.addRow(23);
	table.addRow(24);

	table.setCell(1, 1, "coal");
       	table.setCell(1, 2, "1985");	
	table.setCell(1, 3, new Double(19.33));
	table.setCell(1, 4, new Double(17.48));	

	table.setCell(2, 1, "gas");
	table.setCell(2, 2, "1985");	
	table.setCell(2, 3, new Double(16.92));
	table.setCell(2, 4, new Double(17.85));	

	table.setCell(3, 1, "petro");
	table.setCell(3, 2, "1985");	
	table.setCell(3, 3, new Double(21.23));
	table.setCell(3, 4, new Double(30.92));	

	table.setCell(4, 1, "hydro");
	table.setCell(4, 2, "1985");	
	table.setCell(4, 3, new Double(2.94));
	table.setCell(4, 4, new Double(3.36));	

	table.setCell(5, 1, "nuclear");
	table.setCell(5, 2, "1985");	
	table.setCell(5, 3, new Double(4.15));
	table.setCell(5, 4, new Double(4.15));	

	table.setCell(6, 1, "geotherm");
	table.setCell(6, 2, "1985");	
	table.setCell(6, 3, new Double(0.20));
	table.setCell(6, 4, new Double(0.20));	

	table.setCell(7, 1, "coal");
       	table.setCell(7, 2, "1986");	
	table.setCell(7, 3, new Double(19.51));
	table.setCell(7, 4, new Double(17.26));	

	table.setCell(8, 1, "gas");
	table.setCell(8, 2, "1986");	
	table.setCell(8, 3, new Double(16.47));
	table.setCell(8, 4, new Double(16.71));	

	table.setCell(9, 1, "petro");
	table.setCell(9, 2, "1986");	
	table.setCell(9, 3, new Double(20.53));
	table.setCell(9, 4, new Double(32.20));	

	table.setCell(10, 1, "hydro");
	table.setCell(10, 2, "1986");	
	table.setCell(10, 3, new Double(3.03));
	table.setCell(10, 4, new Double(3.40));	

	table.setCell(11, 1, "nuclear");
	table.setCell(11, 2, "1986");	
	table.setCell(11, 3, new Double(4.47));
	table.setCell(11, 4, new Double(4.47));	

	table.setCell(12, 1, "geotherm");
	table.setCell(12, 2, "1986");	
	table.setCell(12, 3, new Double(0.22));
	table.setCell(12, 4, new Double(0.22));	

	table.setCell(13, 1, "coal");
       	table.setCell(13, 2, "1987");	
	table.setCell(13, 3, new Double(20.14));
	table.setCell(13, 4, new Double(18.01));	

	table.setCell(14, 1, "gas");
	table.setCell(14, 2, "1987");	
	table.setCell(14, 3, new Double(17.05));
	table.setCell(14, 4, new Double(17.67));	

	table.setCell(15, 1, "petro");
	table.setCell(15, 2, "1987");	
	table.setCell(15, 3, new Double(19.89));
	table.setCell(15, 4, new Double(32.87));	

	table.setCell(16, 1, "hydro");
	table.setCell(16, 2, "1987");	
	table.setCell(16, 3, new Double(2.59));
	table.setCell(16, 4, new Double(3.07));	

	table.setCell(17, 1, "nuclear");
	table.setCell(17, 2, "1987");	
	table.setCell(17, 3, new Double(4.91));
	table.setCell(17, 4, new Double(4.91));	

	table.setCell(18, 1, "geotherm");
	table.setCell(18, 2, "1987");	
	table.setCell(18, 3, new Double(0.23));
	table.setCell(18, 4, new Double(0.23));	

	table.setCell(19, 1, "coal");
       	table.setCell(19, 2, "1988");	
	table.setCell(19, 3, new Double(20.94));
	table.setCell(19, 4, new Double(18.81));	

	table.setCell(20, 1, "gas");
	table.setCell(20, 2, "1988");	
	table.setCell(20, 3, new Double(17.19));
	table.setCell(20, 4, new Double(18.60));	

	table.setCell(21, 1, "petro");
	table.setCell(21, 2, "1988");	
	table.setCell(21, 3, new Double(19.52));
	table.setCell(21, 4, new Double(33.96));	

	table.setCell(22, 1, "hydro");
	table.setCell(22, 2, "1988");	
	table.setCell(22, 3, new Double(2.32));
	table.setCell(22, 4, new Double(2.62));	

	table.setCell(23, 1, "nuclear");
	table.setCell(23, 2, "1988");	
	table.setCell(23, 3, new Double(5.68));
	table.setCell(23, 4, new Double(5.68));	

	table.setCell(24, 1, "geotherm");
	table.setCell(24, 2, "1988");	
	table.setCell(24, 3, new Double(0.22));
	table.setCell(24, 4, new Double(0.22));	
%>