chart.setBackgroundPaint(Color.white);
final XYPlot xyPlot = chart.getXYPlot();
final XYItemRenderer renderer = xyPlot.getRenderer();
if( renderer instanceof XYLineAndShapeRenderer ) {
final XYLineAndShapeRenderer rr = (XYLineAndShapeRenderer) renderer;
//rr.setShapesVisible(true);
rr.setDefaultShapesFilled(false);
rr.setSeriesStroke(1, new BasicStroke(1.2f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, new float[] { 6f, 3f }, 0.0f));
rr.setSeriesStroke(2, new BasicStroke(1.2f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, new float[] { 10f, 6f }, 0.0f));
rr.setSeriesStroke(3, new BasicStroke(1.2f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, new float[] { 5f, 5f }, 0.0f));
rr.setSeriesPaint(0, Color.BLACK);
rr.setSeriesPaint(1, Color.GREEN);
rr.setSeriesPaint(2, Color.RED);
rr.setSeriesPaint(3, Color.BLUE);
rr.setLinesVisible(true);
//rr.setSeriesShape(0, ShapeUtilities.createDiamond(5));
}
PlotWindow.showIt(windowTitle, chart);
}