Skip to content

Commit

Permalink
Make the cars way smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
mhansen committed Dec 3, 2011
1 parent 145463a commit 87ea3ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions GraphView.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ window.GraphView = Backbone.View.extend
numDays = (maxDate - minDate) / (24 * 60 * 60 * 1000)

width = 880
height = 7000
height = 2500
ypadding = 30
xpadding = 60
carpadding = 3
Expand Down Expand Up @@ -56,8 +56,8 @@ window.GraphView = Backbone.View.extend
append("svg:rect").
attr("y", (d) -> y(d.date)).
attr("x", (d, i) -> x(i)).
attr("rx", 6).
attr("ry", 4).
attr("rx", 1).
attr("ry", 1).
attr("width", carwidth).
attr("height", carheight).
attr("fill", (d) -> d.color).
Expand Down
2 changes: 1 addition & 1 deletion TooltipView.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ window.TooltipView = Backbone.View.extend
Reported stolen {{ dateReportedStolen }} from {{ region }} Police District.<br>
Rego: {{plate}}."""
Mustache.to_html template, @__data__
offset: 0
offset: 2
placement: "right"

0 comments on commit 87ea3ae

Please sign in to comment.