Generalize tooltip labels