add a chart program