Change the chart context brush event to brushend.