changing legend values