vertical marker

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Stefan Schmidt

vertical marker

Post by Stefan Schmidt » Fri Dec 06, 2002 11:21 am

Hi there,

i'm new to your jFreeChart api. I was wondering if i can add a vertical marker to my chart. (horizontal ones are offered, but not vertical ones)
I would be very happy if you can help me out with a piece of code if possible.

Thanks Stefan

David Gilbert

Re: vertical marker

Post by David Gilbert » Mon Dec 09, 2002 11:22 pm

Hi Stefan,

I'm guessing that you mean on a CategoryPlot. I've changed the method names to setRangeMarker(...) (for both XYPlot and CategoryPlot) and setDomainMarker(...) (for XYPlot only). It would be possible to add a setDomainMarker(...) method for the CategoryPlot - it would just require a category rather than a value, as the position of the marker. But that code is not written yet...I'll add it to the to-do list.

Regards,

Dave Gilbert

Locked