improved legend properties