Adding an event handler for our stacked area chart