         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


      if cumonth isnt day[1]
        # Months
        r.text(10, @offsetY + @unitTime * mm, day[1])
          .attr(
            font: "12px Monaco, monospace"
            fill: "#EEE"
