Skip Menu |

This queue is for tickets about the GDGraph-histogram CPAN distribution.

Report information
The Basics
Id: 31723
Status: new
Priority: 0/
Queue: GDGraph-histogram

People
Owner: Nobody in particular
Requestors: paul-bitcard [...] kittyheads.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.1
Fixed in: (no value)



Subject: number of bins vs. bin width variable
1. In the sub _histogram_bins, line 107 performs a calculation and stores the result in a variable called $nbins. After research, I've found that the calculation is actually for bin-width. 2. On line 110, the variable $binwidth is calculated to be the difference of $max and $min divided by $nbins. The result of the calculation is actually supposed to be the number of bins. Line 118 and 119 reference $nbins and $binwidth variables by the values that these variables hold aren't correct for the way they are calculated/used given the statements #1 and #2 in this bug report.