I have managed to plot a linear graph. The following is the code:
private JPanel createGraph() { JPanel panel = new JPanel(); XYSeries serie
I believe that you are looking for XYSplineRenderer You should be able to do
chart.getXYPlot().setRenderer(new XYSplineRenderer());
after your chart is constructed.