debugging bar chart