add toggling for the lines in the main chart
fix merge conflict, now toggle works