rename directive and add bar chart