in the print pdf putting the legends over each other