tooltips and legends