fixed console error for barcharts -commented out bar charts