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
vertical marker
Re: vertical marker
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
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