Server: improve legend