add totals in tooltip