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