Hi
I have a problem to set the margin of XAxis.I want some space left beyond the upperbound of XAxis Range
like suppose this dot(.) is the vertical line of graph ( . 1 2 3 4 5 6 .) there is space before 1 and after 6.Ialso want this type of space in my graph
can u plzz help me to solve this problem..................
Awaiting for ur Reply
Thanx
how we set the space in XAxis
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can use the setLowerMargin() and setUpperMargin() methods in the axis class.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


how we set the space in XAxis
Hi
the setLowerMargin() and SetUpperMargin() is not working.
Is there is nay other way...........
plzz help me
Awaiting for ur reply
Thanx
the setLowerMargin() and SetUpperMargin() is not working.
Is there is nay other way...........
plzz help me
Awaiting for ur reply
Thanx
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: how we set the space in XAxis
"not working" is not a helpful description. You need to state (1) what you did (for example, what arguments you passed to setLowerMargin()/setUpperMargin()), (2) what you saw (best if you post a screenshot) and (3) what you expected to see. Once I know these three things, I can tell you where the problem is.Rajnesh wrote:the setLowerMargin() and SetUpperMargin() is not working.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

