grid lines when using block renderer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jahjeremy
Posts: 31
Joined: Tue Sep 25, 2012 2:49 am
antibot: No, of course not.

grid lines when using block renderer

Post by jahjeremy » Wed Mar 06, 2013 2:35 am

Hi,

I'm experiencing a problem similar to this one:

http://community.jaspersoft.com/questio ... -gridlines

When I have a block renderer set, I can't see the grid lines.

Actually, I've got a couple renderers set on my XYPlot that I am turning on/off dynamically. One of them is an XYBlockRenderer, and the other is a custom one I made myself.

Does this sound familiar?

Basically, I've tested in the last several lines of my program turning on the grid lines and firing the chart changed method but I can't get them to show when this renderer is used. It seems fine with the other ones.

--Jeremy

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: grid lines when using block renderer

Post by paradoxoff » Wed Mar 06, 2013 10:58 am

jahjeremy wrote: When I have a block renderer set, I can't see the grid lines.
Does that mean that the grid lines disappear when you include an XYBlockRenderer or do the gridlines simply get overlapped?
In the former case, please provide more code, because I can imagine no reason why that should happen.
In the latter case: you would probably have to live with that.

Locked