added attribute chart-type