}
if (datesIn != null && !datesIn.isEmpty()) {
q.filter("_id in", datesInString);
}
q.order("_id");
final List<MapReduceMinMax> mapReduceResult = q.asList();
final DefaultCategoryDataset dataset = new DefaultCategoryDataset();
ChartEnumMinMaxHelper chartEnum = ChartEnumMinMaxHelper.getByFieldAndType(field, type);