Closed Bug 195607 Opened 21 years ago Closed 21 years ago

Minimum width code gets it wrong

Categories

(Bugzilla :: Reporting/Charting, defect)

2.17.3
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: gerv, Assigned: gerv)

Details

Attachments

(1 file)

The "minimum width" code for bar charts has two problems.

1) The minimum is too small. Either preed or joel pointed this out before, but I
refused to believe them :-) Dunno what happened there. Anyway, it is.

2) It adjusts the width unconditionally (i.e. even when we are using the
default, and $width is undefined), so bar charts are thinner than they should be
a lot of the time.

Patch coming.

Gerv
Attached patch Patch v.1Splinter Review
Fixes problem. Either of you gentlemen want to rubber-stamp this, or am I going
to have to formally request review? :-)

Gerv
Attachment #116019 - Flags: review?(bugreport)
Comment on attachment 116019 [details] [diff] [review]
Patch v.1

Dave: more min_width issues :-)

Gerv
Attachment #116019 - Flags: review?(justdave)
Attachment #116019 - Flags: review?(bugreport) → review+
Flags: approval?
Attachment #116019 - Flags: review?(justdave)
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 2.18
Fixed.

Checking in report.cgi;
/cvsroot/mozilla/webtools/bugzilla/report.cgi,v  <--  report.cgi
new revision: 1.16; previous revision: 1.15
done

Gerv
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: