         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)
 


  markCommit: (x, y, commit, graphHeight) ->
    if commit.id is @options.commit_id
      r = @raphael
      r.path(["M", x + 5, y, "L", x + 15, y + 4, "L", x + 15, y - 4, "Z"]).attr(
        fill: "#000"
        "fill-opacity": .5

    @mspace = 0
    @parents = {}
    @colors = ["#000"]
    @offsetX = 120
    @offsetY = 20
    @unitTime = 20
    @unitSpace = 10
    @load()

  load: ->
