added totals to charts