Classic Chart

With the classic chart you will have to make your own checkboxes to show / hide pens. Based on which checkbox they select you can call:chart = event.source.parent.getComponent('Chart') chart.setSeriesEnabled("Data", "Column Name", 0)You would replace the “Column Name” with the pen you want to hide or show. To hide that last argument should be 0, to show it should be 1.