Skip to content

Commit

Permalink
default offset->zero
Browse files Browse the repository at this point in the history
  • Loading branch information
strongh committed Aug 29, 2014
1 parent ec775a6 commit eef98c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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 @@ -193,7 +193,7 @@ createGraph = (anchor, metric) ->
null_as: if metric.null_as is undefined then null else metric.null_as
renderer: metric.renderer || 'area'
interpolation: metric.interpolation || 'step-before'
offset: metric.offset || 'value'
offset: metric.offset || 'zero'
unstack: if metric.unstack is undefined then unstackable else metric.unstack
stroke: if metric.stroke is false then false else true
stroke_fn: metric.stroke if typeof metric.stroke is "function"
Expand Down

0 comments on commit eef98c6

Please sign in to comment.