oesmith/morris.js — pull request #91 by tiraeth (2012-10-15 21:07:26+00:00)
Title: Added ability to set smooth parameter per series

This feature gives user an option to draw a smooth path only in chosen series. It is backward compatible and by default draws all paths smooth.

In `examples/weeks.html` we can force Morris to draw smoothly only one series by calling it:
```javascript
// (...)
Morris.Line({
element: 'graph',
data: week_data,
xkey: 'period',
ykeys: ['licensed', 'sorned'],
labels: ['Licensed', 'SORN'],
smooth: ['Licensed']
});
```

The `smooth` option key is now type of `boolean|array`. If you want to use the feature, series for which labels are included in the array will get their path drawn smoothly.

*Note: Not sure if I should include compiled versions (using `grunt`) but did it anyway. If you'd like me not include them, just tell.*