npm install cake build #--> lib/js-chart-widgets.min.js
new Calendar({
append_to: 'some_id',
num_weeks: 51,
day_size: 11,
data: [
['2012-03-01', 123],
['2012-03-02', 456.7],
// gaps are fine
['2012-03-04', 234]
],
color: '#005500'
});
- Wrap or borrow from other open-source widgets when it makes sense
- Get our NIH on when it doesn't
- Make a sensible abstraction with nice defaults for each of the world's widget types