Fix compiler error.

TimeGeometry setMin and setMax now receive a date instead of a string.

FEA: ItEr02S03MigracionZK5
This commit is contained in:
Óscar González Fernández 2010-08-26 19:48:20 +02:00
parent 52aee6429e
commit 0864423dd4

View file

@ -408,11 +408,8 @@ public abstract class ChartFiller implements IChartFiller {
finish = getThursdayOfThisWeek(finish);
}
String min = start.toString("yyyyMMdd");
String max = finish.toString("yyyyMMdd");
timeGeometry.setMin(Integer.valueOf(min));
timeGeometry.setMax(Integer.valueOf(max));
timeGeometry.setMin(start.toDateTimeAtStartOfDay().toDate());
timeGeometry.setMax(finish.toDateTimeAtStartOfDay().toDate());
timeGeometry.setAxisLabelsPlacement("bottom");
// Remove year separators
timeGeometry.setGridColor("#FFFFFF");