documentation for the bar chart