added reset chart on empty brush