How to add a dotted line(with constant value) in XYPlot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
glenwu68
Posts: 2
Joined: Sun Jun 06, 2004 8:53 am

How to add a dotted line(with constant value) in XYPlot

Post by glenwu68 » Sun Jun 06, 2004 9:05 am

Hi,

If I want to add a dotted line in XYPlot(with constant value. For example: I want to draw upper/lower limit in chart). How to do it ?
Can give me an example to try it thanks. :D

oscar
Posts: 26
Joined: Fri May 28, 2004 10:01 am
Location: Switzerland

Post by oscar » Wed Jun 09, 2004 8:10 am

A constant line is called a "Marker". Check out the Java API and the demo code for details on how to implement.

Locked