Ah, I was thinking it would be pixels. That is a much better interface anyways. I got it working with this code for future reference.
from org.jfree.chart.annotations import XYBoxAnnotation
from java.awt import BasicStroke, Color
stroke = BasicStroke(0)
outline = Color(0, 0, 0)
fill = Color(0, 255, 0, 127)
minuteOffset = 60000
startX = self.startDate.getTime() + minuteOffset
endX = self.endDate.getTime() - minuteOffset
bottomY = 20
topY = 80
overlay = XYBoxAnnotation(startX, bottomY, endX, topY, stroke, outline, fill)
print 'updated overlay'
Do you know when the
configureChart() function is invoked?