Search found 1 match

by bruceweertman
Fri Jan 03, 2014 7:43 pm
Forum: JFreeChart
Topic: Legend Position
Replies: 6
Views: 9703

Re: Legend Position

Here's a hack that seems to work. If P is the desired fractional distance from the edge of the axis and min is the min of the range and max is the max of the range, then the value to use will be: min * (10 ^ P log10(max) - 1 ) / (max - min) So, for example, if P = 0.02, min = 0.01, max = 500 the val...