invalidate legend view