Hello,
Using CategryLineAnnotation doesn't help drawng a dashed VERTICAL line in a horizontal plot!
With the ValueMarker it's possible but for the dashed VERTICAL line.
Pointers here, please?
Thanks,
SNK
Drawing a dashed line in a (HORIZONTAL) CategoryPlot
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
What did you try? If you create the CategoryLineAnnotation with the first and last categories on the axis, and constant y values, you'll get a vertical line on a horizontal plot.
If you want a line right across the plot, try the addRangeMarker() method in the CategoryPlot class instead.
If you want a line right across the plot, try the addRangeMarker() method in the CategoryPlot class instead.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

