bar graph directive