public void drawObersumme(WindowAndDataProvider windowAndDataProvider, Graphics g)
	{
		if(drawUpperSum == true)
		{
			double hoehe;
			DPoint p1, p2;
			
			p1 = new DPoint();
			p2 = new DPoint();
			
			for(double i=intervalLeft; i<=intervalRight-dx+(dx/4); i+=dx)
			{
				int j1, j2;
				
				j1 = 0;
				
				
				while(points.get(j1).getX()<=i && j1 < points.size()-1)
				{
					j1++;
				}
				
				j2 = j1;
				
				while(points.get(j2).getX()<=i+dx && j2 < points.size()-1)
				{
					j2++;
				}
				
				hoehe = points.get(j1).getY();
				
				for(int j=j1; j<=j2; j++)
				{
					if(points.get(j).getY()>hoehe)
					{
						hoehe = points.get(j).getY();
					}
				}
				
				p1.setX(i);
				p1.setY(0);
				p2.setX(i+dx);
				p2.setY(hoehe);
				
				p1 = windowAndDataProvider.toCoordinationPoint(p1);
				p2 = windowAndDataProvider.toCoordinationPoint(p2);
				
				int[] x = new int[4];
				int[] y = new int[4];
				
				x[0] = (int) Math.round(p1.getX());
				x[1] = (int) Math.round(p1.getX());
				x[2] = (int) Math.round(p2.getX());
				x[3] = (int) Math.round(p2.getX());
				
				y[0] = (int) Math.round(p1.getY());
				y[1] = (int) Math.round(p2.getY());
				y[2] = (int) Math.round(p2.getY());
				y[3] = (int) Math.round(p1.getY());
				
				g.setColor(Color.blue);
				g.fillPolygon(x, y, x.length);
				g.setColor(Color.black);
				g.drawPolygon(x, y, x.length);
			}
		}
	}