start at total up till date in cumulative charts; fix bug in trim data
merge with master
use _.map
Merge pull request #512 from dimagi/charts

start at total up till date in cumulative charts; fix bug in trim data