more space for days in network graph

This commit is contained in:
Dmitriy Zaporozhets 2013-08-05 19:08:51 +03:00
parent d521cf8d01
commit a2501d1586

View file

@ -62,16 +62,16 @@ class BranchGraph
cuday = 0 cuday = 0
cumonth = "" cumonth = ""
r.rect(0, 0, 26, @barHeight).attr fill: "#222" r.rect(0, 0, 30, @barHeight).attr fill: "#222"
r.rect(26, 0, 20, @barHeight).attr fill: "#444" r.rect(30, 0, 25, @barHeight).attr fill: "#444"
for day, mm in @days for day, mm in @days
if cuday isnt day[0] if cuday isnt day[0]
# Dates # Dates
r.text(36, @offsetY + @unitTime * mm, day[0]) r.text(40, @offsetY + @unitTime * mm, day[0])
.attr( .attr(
font: "12px Monaco, monospace" font: "12px Monaco, monospace"
fill: "#DDD" fill: "#BBB"
) )
cuday = day[0] cuday = day[0]