Legend adjustment