code to remove the legend dialed in, need to wire up btn with true/false
functional with adding legend only, no toggle