public ArrayList<Rectangle2D.Float> setUpBars(int[] histogram) {
		int max = maxBar(histogram);
		ArrayList<Rectangle2D.Float> histoBars = new ArrayList<Rectangle2D.Float>();
		float graphicsScale = ((float) PIXELS_HEIGHT * verticalSizeInt) / max;
		for (int i = 0; i < StatInfo.nbars; i++) {

			float htop = top
					+ (PIXELS_HEIGHT * verticalSizeInt * 1f - (graphicsScale * 1f * histogram[i]));
			float left = PIXELS_BORDER + (barwidth) * i;
			float width = (int) (barwidth);
			float height = (int) (graphicsScale * histogram[i]);
			histoBars.add(new Rectangle2D.Float(left, htop, width, height));
		}
		return histoBars;
	}