         cumonth = day[1]
 
     for commit in @commits
-      x = @offsetX + 10 * (@mspace - commit.space)
-      y = @offsetY + 20 * commit.time
+      x = @offsetX + @unitSpace * (@mspace - commit.space)
+      y = @offsetY + @unitTime * commit.time
 
       @drawDot(x, y, commit)
 

        element.scrollTop element.scrollTop() + 50  if event.keyCode is 40

  appendLabel: (x, y, refs) ->
    r = @raphael
    shortrefs = refs
    # Truncate if longer than 15 chars
    shortrefs = shortrefs.substr(0, 15) + "…"  if shortrefs.length > 17

    text.toFront()

  appendAnchor: (top, commit, x, y) ->
    r = @r
    options = @options
    anchor = r.circle(x, y, 10).attr(
      fill: "#000"
