Added debug log for bar chart