Added events to handle the chart and comment board