Vertical lines on XYSeries chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ajgwin
Posts: 18
Joined: Mon Mar 17, 2003 4:53 pm

Vertical lines on XYSeries chart

Post by ajgwin » Thu Jun 19, 2003 4:06 pm

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

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Jun 25, 2003 10:26 pm

You can use the addDomainMarker(...) method in the XYPlot class.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked