Hello,
I am using an XYStepRenderer to draw a graph with two series. One series is represented with a continuous line and the other is represented via a dashed line. The result is like this:
Problem here is that at the right side of the graph, the continuous line completely hides the dashed line.
I would rather like the result to be like this (the dashed line is 'in front' and the gaps between the dashes are transparant):
How can I do this with jfreechart.
Thanks for the assistance,
Frederik.
Imposing continuous and dashed series line
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Imposing continuous and dashed series line
Apparently you have configured the renderer to draw the first series (which is renderer first) as a dashed line and the second (which is drawn on top of the first) as a continuous line. The simplest solution would be to swap the line style in the renderer, so that the first is drawn as a continuous line and the second as a dashed line.
Re: Imposing continuous and dashed series line
Thanks for the tip, I'll give that a try.