A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
nicky
- Posts: 44
- Joined: Mon Apr 05, 2004 1:45 am
- Location: Brisbane, Australia
Post
by nicky » Tue May 11, 2004 5:23 am
Does anyone know if there is anyway to remove just the last axis label? I've looked through most of the code (as far as I know) and am not able to see a method that would do this.
Any suggestions would be appreciated.
Thanks, Nicky
-
nikster
- Posts: 46
- Joined: Wed Nov 19, 2003 4:34 pm
Post
by nikster » Tue May 11, 2004 11:12 am
maybe Axis.setLabel(null)?
what is "just the last axis label"?
-
nicky
- Posts: 44
- Joined: Mon Apr 05, 2004 1:45 am
- Location: Brisbane, Australia
Post
by nicky » Tue May 11, 2004 10:28 pm
Sorry, didn't explain myself very well.
What I mean is the last axis tick label - not the actual label of the axis.
Any ideas anyone?
-
nicky
- Posts: 44
- Joined: Mon Apr 05, 2004 1:45 am
- Location: Brisbane, Australia
Post
by nicky » Tue May 11, 2004 11:32 pm
I just adjusted some of the code in ValueAxis - getter and setter methods to determine if the user wanted the last tick label and then adjusted the drawTickMarksAndLabels method.
Thanks. Nicky