How to turn elements on/off on the chart?