fixed data not being added to chart