detaling bar graph output