Skip to content

Commit

Permalink
fixes #49
Browse files Browse the repository at this point in the history
* defaulting `min` to `auto` instead of `0`
  • Loading branch information
Yoav committed Nov 27, 2013
1 parent 6914884 commit 95a2daa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/giraffe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/src/giraffe.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ createGraph = (anchor, metric) ->
element: $("#{anchor} .chart")[0]
width: $("#{anchor} .chart").width()
height: metric.height || 300
min: metric.min || 0
min: metric.min || 'auto'
max: metric.max
null_as: if metric.null_as is undefined then null else metric.null_as
renderer: metric.renderer || 'area'
Expand Down

0 comments on commit 95a2daa

Please sign in to comment.