format chart tooltips