Add trend diagram exported functions and grand total bold