Defect #1983

statistics get rather cramped with more than 15 or so contributers

Added by David Kowis about 9 years ago. Updated over 4 years ago.

Status:ClosedStart date:2008-10-03
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:2.4.0
Resolution:Fixed Affected version:

Description

Since the SVG stays the same size, it gets rather cramped in there. I hacked the source code to get it to be flexible if there's more than a certain number of people contributing, then it does some math to make it longer. I'm sure it's not very good, but at least it's something :)

Note: I'm somewhat of a n00b to rails, so I'm sure it's not done the "right way"(c)(tm)(r)

quick_hack.patch Magnifier (3.27 KB) David Kowis, 2008-10-03 04:34

quick_hack.patch Magnifier (3.29 KB) David Kowis, 2008-10-03 05:05

after.png (50.8 KB) Toshi MARUYAMA, 2013-04-18 05:33

before.png (139 KB) Toshi MARUYAMA, 2013-04-18 05:33


Related issues

Related to Redmine - Patch #13486: Make height of "Commits per author" graph flexible Closed
Related to Redmine - Patch #14068: Increase base height of author lines on 'Commits per auth... Closed
Duplicated by Redmine - Defect #14755: Repository statistics page is a mess because there are ma... Closed

Associated revisions

Revision 11723
Added by Toshi MARUYAMA over 4 years ago

make height of "Commits per author" graph flexible (#1983, #13486)

Contributed by Max Horn.

Revision 11846
Added by Toshi MARUYAMA over 4 years ago

remove width and height from repository stats embed tags (#1983, #13486)

Revision 11847
Added by Toshi MARUYAMA over 4 years ago

increase base height of author lines on 'Commits per author' graph (#14068, #1983)

Contributed by Mischa The Evil.

History

#1 Updated by David Kowis about 9 years ago

Whoops, I borked that one patch. Forgot to do the smart thing ;)

#2 Updated by David Kowis about 9 years ago

Hrm. I just realized there's no good way to "obsolete a patch"...
Well the latest quick_hack.patch is the right one :/

#3 Updated by Toshi MARUYAMA over 6 years ago

  • Category set to SCM

#4 Updated by Anonymous over 4 years ago

I have provided an alternate fix for this in issue #13486

#5 Updated by Toshi MARUYAMA over 4 years ago

  • File after.png added
  • File before.png added
  • Status changed from New to Closed
  • Target version set to 2.4.0
  • Resolution set to Fixed

#6 Updated by Toshi MARUYAMA over 4 years ago

#14068 description has r11847 images.

#7 Updated by Mischa The Evil over 4 years ago

  • Duplicated by Defect #14755: Repository statistics page is a mess because there are many users added

Also available in: Atom PDF