Legend on other position in graph