changed legend tooltip to p