Only allow the legend of one data source at a time to be visible

Clicking on the name of one data source now collapses all other legends.