IntervalMarker with domain and range limits?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
SomeAwesomeGuy
Posts: 8
Joined: Tue Jul 06, 2010 4:18 pm
antibot: No, of course not.

IntervalMarker with domain and range limits?

Post by SomeAwesomeGuy » Mon Jul 19, 2010 2:00 pm

Is there a way I can draw an IntervalMarker with both domain and range limits? Basically, a rectangle? If I need to override something to accomplish this, where should I look?

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: IntervalMarker with domain and range limits?

Post by paradoxoff » Mon Jul 19, 2010 5:37 pm

What about an XYBoxAnnotation ?

SomeAwesomeGuy
Posts: 8
Joined: Tue Jul 06, 2010 4:18 pm
antibot: No, of course not.

Re: IntervalMarker with domain and range limits?

Post by SomeAwesomeGuy » Mon Jul 19, 2010 6:38 pm

Thank you! That's exactly what I was looking for.
EDIT: Actually, maybe not exactly... It should do fine, but is there a way to send the annotation to the background? I'd like to fill the box, but it's painted over the time series graph.
EDIT2: Nevermind, figured it out.

Locked