Added a component to show a floating legend on a bar graph