Border problem

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jcamp
Posts: 36
Joined: Thu Apr 01, 2004 4:20 pm

Border problem

Post by jcamp » Thu Aug 31, 2006 10:45 pm

i have a chart which has logarithmic axes. the last point (100000) on the x axis gets cut off by the border. how do i increase it so as to show the entire 100000 instead of 1000 ???

[/img]

cristo_haris
Posts: 7
Joined: Thu Jul 20, 2006 10:37 am

Post by cristo_haris » Tue Sep 12, 2006 2:22 pm

I'm also suffering from the same problem.
If anybody knows a solution please reply soon.

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 » Wed Sep 13, 2006 12:26 pm

The only workaround is to call plot.setInsets() and add some extra whitespace around the plot for the labels to use.
David Gilbert
JFreeChart Project Leader

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

jcamp
Posts: 36
Joined: Thu Apr 01, 2004 4:20 pm

Border problem

Post by jcamp » Wed Sep 13, 2006 6:04 pm

david,

that worked like a charm. thanks !!

Locked