Vert. Gridlines disappear after upgrade from 1.0.1 to 1.0.4

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
oscar
Posts: 26
Joined: Fri May 28, 2004 10:01 am
Location: Switzerland

Vert. Gridlines disappear after upgrade from 1.0.1 to 1.0.4

Post by oscar » Tue Mar 13, 2007 12:48 pm

I have a long-running, stable application that I just upgraded from 1.0.1 to 1.0.4 (ie, simply replacing the jars on the classpath). Immediately, my vertical gridlines vanished! Oddly, horizontal gridlines are still there..

I have checked all the Usual Suspects (setDomainGridlinePaint, setDomainGridlineStroke, setDomainGridlinesVisible) and they are OK... In any case, the only change is the new jar. If I change it back again, the grid lines come back!

Did some default change?

Rgds,
Oscar

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Mar 13, 2007 12:59 pm

Is this for a combined plot? A fix I applied for a different issue has broken the domain gridlines in 1.0.4. I will revert that patch for the 1.0.5 release and find an alternative. Sorry for the inconvenience.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

oscar
Posts: 26
Joined: Fri May 28, 2004 10:01 am
Location: Switzerland

Post by oscar » Tue Mar 13, 2007 4:48 pm

Is this for a combined plot?
Actually for any XYPlot..

Our main motivation for wanting to upgrade was to see if it would fix the bug mentioned in this thread: http://www.jfree.org/phpBB2/viewtopic.php?t=20561

Since I rather suspect it won't, we'll carry on with version 1.0.1. I'll try to produce a test case from the demo code for the IllegalArgumentException and post it on that thread when I get it..

Rgds,
oscar

Locked