Add brushEnd event for chart