Fixed the brushing filtering.
Fixed toggle of legend