how to draw lines inside plots?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Diego Garber

how to draw lines inside plots?

Post by Diego Garber » Thu Feb 13, 2003 9:10 pm

Hi, I need to provide a way for users to draw lines inside the plots (not Range neither Domain markers!). Can anybody tell me how can I do that?

Diego Garber

Re: how to draw lines inside plots?

Post by Diego Garber » Mon Feb 17, 2003 3:58 pm

Please, I need an answer, this is kind of urgent and I cant find any method that I could use. I looked at the draw method but I don't think it of any help.
Thank you,

Diego.

David Gilbert

Re: how to draw lines inside plots?

Post by David Gilbert » Mon Feb 17, 2003 4:28 pm

You'll need some mechanism for defining where the lines need to be drawn. The domain and range markers (which allow arbitrary horizontal and vertical lines to be added to a plot) are one example, you could implement something similar for other types of lines. If you want your users to be able to add lines interactively, that will be more difficult...

Regards,

Dave Gilbert

Locked