Skip to content

Commit

Permalink
fixed the code to use ykeys for smooth instead of seriesLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
tiraeth committed Oct 15, 2012
1 parent 9773a69 commit b8674f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/morris.line.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class Morris.Line
shouldDrawSmooth: (series) =>
if typeof @options.smooth is 'boolean' && @options.smooth
true
else if typeof @options.smooth is 'object' and $.inArray(@seriesLabels[series], @options.smooth) > -1
else if typeof @options.smooth is 'object' and $.inArray(@options.ykeys[series], @options.smooth) > -1
true
else
false
Expand Down
2 changes: 1 addition & 1 deletion morris.js

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

Loading

0 comments on commit b8674f3

Please sign in to comment.