How to draw a straight line in jfreechart?
1 answer
Sounds simple enough ... I've never used it, but there is an XYPlot class that sounds like a decent place to start. You can create it using ChartFactory to make it a little easier. You will need to implement a class that implements the XYDataSet interface in order to return the actual points (i.e. Evalutate your equation).
0
a source to share