}
public void addMeasure(Double value, Date date, String metricName, int metricType) {
CombinedHistoryPlot plot = plotsPerLegend.get(metricName);
if (plot == null) {
MetricType type = MetricType.values()[metricType];
plot = new CombinedHistoryPlot(type, metricName, colors.pop());
plotsPerLegend.put(metricName, plot);
legends.add(metricName);
}
Double min = minsPerPlotLegend.get(metricName);