delete legend