I have an XYSeries chart that has 4 series in it. I need 2 vertical lines in the chart that each represent a value on the xaxis. Can I create a vertical line on the chart? Thanks.
Allyson
Vertical lines on XYSeries chart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can use the addDomainMarker(...) method in the XYPlot class.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

