implemented autoscaling on barchart label fonts