automatic data generation for chart added