Hi
Is it possible to have solid grid lines, instead of the dotted grid lines that we currently have. One of our clients wants solid grid lines.
I have looked at the methods for VerticalNumberAxis and HorizontalDateAxis but the only one that looks like it could be the one to use is setGridStroke. Is this the one to use? How do you use it? What is a "stroke"?
Many thanks
Belinda
Solid grid lines
Re: Solid grid lines
Yes, setGridStroke(...) is the correct method. 'Stroke' is the term used in Java2D for the way lines are drawn...you can use any implementation of the java.awt.Stroke interface. java.awt.BasicStroke is the only one I've used, it allows you to specify the line thickness and also the dot pattern (if any).
Regards,
DG.
Regards,
DG.