Graph legend fixes