boolean lastIsBleeding = true;
for (int day = 0; day < observations.size(); day++) {
Observation observation = (Observation) observations.elementAt(day);
if(observation == null) {
if(lastIsBleeding)
drawInterval(g, new Interval(day, day+1), 0xff6060, true);
continue;
}
if(observation.isBleeding()) {
drawInterval(g, new Interval(day, day+1), 0x800000, true);
if(day == selectedDay)
drawInterval(g, new Interval(day, day+1), 0xff0000, true);
continue;
}else lastIsBleeding = false;
if(!observation.hasTemperature())
continue;
int x = tx.get(day) + offset;