CategoryAxis Free Space at beginning and End *SOLVED*

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
hansih91
Posts: 2
Joined: Sun Oct 12, 2014 11:15 am
antibot: No, of course not.

CategoryAxis Free Space at beginning and End *SOLVED*

Post by hansih91 » Sun Oct 12, 2014 11:20 am

****SOLVED****
Hi! I have a very large X-Axis... and there is much Space at beginning between axe start and categorys... same at end
How to remove this space??

Hans


Image
Last edited by hansih91 on Mon Oct 13, 2014 7:56 am, edited 2 times in total.

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

Re: CategoryAxis Free Space at beginning and End

Post by david.gilbert » Sun Oct 12, 2014 3:52 pm

Try setLowerMargin() and setUpperMargin() on the CategoryAxis:

http://www.jfree.org/jfreechart/api/jav ... in-double-
David Gilbert
JFreeChart Project Leader

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

hansih91
Posts: 2
Joined: Sun Oct 12, 2014 11:15 am
antibot: No, of course not.

Re: CategoryAxis Free Space at beginning and End

Post by hansih91 » Mon Oct 13, 2014 7:55 am

Thank you.

Solved!!!


Hans

Locked