invisble Legend added

able to hide the legend but keep the functionality