Additional logic for the Barchart directive included