Add examples of `totals_fields`, `totals_formatter` and `tick_formatter`.