Hello,
How do I draw a dash line?
Thanks in advance!
Jane
Dash line
Code: Select all
float dash[] = { 3.0f };
plot.getRenderer(0).setSeriesStroke(1, new BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 3.0f, dash, 0.0f));