adding the data for stackchart