private void setMinMaxHistogramHighlight() {

		ArrayList<Float> variations = new ArrayList<Float>();
		for (float[] timeSeries : timeSeriesCompayData.values()) {
			variations.add(timeSeries[categoryId]);
		}
		float min = min(variations);
		float max = max(variations);
		if ((int) (min * 1e7) == -1)
			min = Float.NaN;
		if ((int) (max * 1e7) == -1)
			max = Float.NaN;
		if (min == min)
			minMaxHisto.x = Database.statistics.get(categoryId)
					.locationInHistogram(min);
		else
			minMaxHisto.x = -10;

		if (max == max)
			minMaxHisto.y = Database.statistics.get(categoryId)
					.locationInHistogram(max);
		else
			minMaxHisto.y = -10;

	}