String metricDomain = metricConfig.getDomain();
String productLine = m_productLineConfigManager.queryProductLineByDomain(metricDomain);
for (MetricType type : MetricType.values()) {
String key = metricId + ":" + type;
BaselineConfig baselineConfig = m_baselineConfigManager.queryBaseLineConfig(key);
List<Integer> days = baselineConfig.getDays();
List<Double> weights = baselineConfig.getWeights();
Date targetDate = new Date(reportPeriod.getTime() + baselineConfig.getTargetDate() * TimeHelper.ONE_DAY);
List<double[]> values = new ArrayList<double[]>();
for (Integer day : days) {
List<MetricItem> metricItems = new ArrayList<MetricItem>();
Date currentDate = new Date(reportPeriod.getTime() + day * TimeHelper.ONE_DAY);