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 !
x-axis/gridlines/borders
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

