added save-chart-all function.