x-axis/gridlines/borders

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
losganjas
Posts: 5
Joined: Thu May 06, 2004 2:31 pm

x-axis/gridlines/borders

Post by losganjas » Mon Jul 19, 2004 11:50 am

hi folks !

I have a mysterious x-axis in my graph.

it s not the domain axis, nor gridlines, and it seems not to be a border or something like that (plot.setOutlinePaint(null)). fact is, I have this line at value 0 (y-axis) which goes exactly along the domain axis (if I set domainAxis.setVisible(true) both lines are visible, one over the other). I would like to change the color of this line or set it to null, whatever...;-)

any clues ? thanks in advance !

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 » Mon Jul 19, 2004 12:47 pm

It is a marker that is added in the plot's constructor to highlight the zero value. You can remove it by calling clearRangeMarkers() straight after you create your chart.
David Gilbert
JFreeChart Project Leader

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

Locked