fixed graph legends