Add barChart directive