Add boolean for whether or not the chart is going to be displayed