bar_chart can now dispaly the content on select