adding a chart