Milestones: long label makes graph longer than required
Bug #668435 reported by
Paul Sladen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
On a milestone graph, such as:
https:/
The presence a single overly-long label causes the graph width to balloon massively: each box is expanded to the width of the longest, the current algorithm is:
max( width(N) )
It would be possible to remain homogeneous (equal spacing/equal width) but with less wastage, by using a spacing of:
max( 0.5*width(
before:
----|
____w_
after:
----|
____w_
(copy and paste into a monospace editor/font)
Wow. Thanks for this analysis. I will look for an opportunity in the next few months to do this.