added scalability to bar graph so large values won't extend off screen