Bug#359943: libchart-perl: integer_ticks_only doesn't honor max_y_ticks

Niko Tyni ntyni at iki.fi
Mon Apr 17 20:54:56 UTC 2006


On Tue, Apr 11, 2006 at 10:01:56PM +0200, Bill Allombert wrote:
 
> 1) The lower bound should be probably rounded down to the next multiple
> of the interval. This is the behaviour when integer_ticks_only is off.

Right. One more round of iteration attached.

> 2) the patch did not apply so I used fromdos on Base.pm and it applied.
> Maybe my MUA has converted the patch to UNIX lines.

No, the problem is at my end. I hope this one comes through correctly. 
(I'm using 'application/x-patch' instead of 'text/plain' now.)

> 3) I would suggest the default for max_y_ticks to be the same with or
> without integer_ticks_only (the manpage suggests so). A specific value
> could be used for max_y_ticks to denote the correct behaviour (no max).

I don't understand this.

The default for max_y_ticks is the same in both cases, 100. The
'integer_ticks_only' code aims for a tick interval of 1, but if that goes
over max_y_ticks, it starts compensating. Without 'integer_ticks_only',
the 'max_y_ticks' kicks in only with non-integer tick intervals.

I don't understand the sentence about "a specific value for the correct
behaviour" either. Could you clarify, please?

Cheers,
-- 
Niko Tyni	ntyni at iki.fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chart-ticks.debian.patch-new
Type: application/x-patch
Size: 3665 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20060417/b204747a/chart-ticks.debian.bin


More information about the pkg-perl-maintainers mailing list