Legend is now dynamic