improved legend view