Grid Lines on Domain Axis not drawn with JAVA 7

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
pfxo
Posts: 7
Joined: Thu Sep 22, 2011 3:15 am
antibot: No, of course not.

Grid Lines on Domain Axis not drawn with JAVA 7

Post by pfxo » Thu Sep 29, 2011 3:31 am

Hi

It seems that JFreeChart don't draw grid lines for domain axis in Java 7. Below a screenshot of JFreeChart compiled with Java 6 (1.6.0_07):

Image

You see the black grid lines on the domain axis.
Now, look what happen with Java 7 (OpenJDK 1.7.0):

Image

Is there any patch or somethings to solve this bug?

pfxo
Posts: 7
Joined: Thu Sep 22, 2011 3:15 am
antibot: No, of course not.

Re: Grid Lines on Domain Axis not drawn with JAVA 7

Post by pfxo » Thu Sep 29, 2011 8:31 am

It seems to be a bug inside Java 7 (7.0.122) and not JFeeChart. I have upgraded to Java 7 (7.0.147_1) and now it work all good 8)

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

Re: Grid Lines on Domain Axis not drawn with JAVA 7

Post by david.gilbert » Fri Sep 30, 2011 5:07 am

Good spot. I tried JFreeChart with Java 7 for the first time a few days back and it seemed to be working well.

I also like the new Javadoc output in JDK7, I will try to upload new Javadocs soon for JFreeChart.
David Gilbert
JFreeChart Project Leader

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

Locked