bar graph scaling fix