Click on the chart legend to hide and show the relevant dataset