set text color and number format in tooltips