fixed the issue hiding the labels and the colors on the bar charts