I want to hide bars on clicking respective legend. For example in this graph if I want to hide all the bars which shows population "65 years and over" and "25 to 44 years"
on clicking to their respective legends. After clicking legend again the bar will come up again on its position.