A bar chart is a type of chart which shows the values of different categories of data as rectangular bars with different lengths . A bar chart or bar graph is a chart with rectangular bars with lengths proportional to the values that they represent .