charts working pie and two bar charts