etting_up_barchart(data);

            // delete '总计'; 
            data = data.filter(datum => {return datum[keyHint] !== '总计'});
            keysall = Array.from(new Set(data.map( datum => datum[keyHint])));

            // generate sequential data; 
            let sequential = []; 
            alldates.forEach(datum => {
                sequential.push([]);
            });
            data.forEach(datum => {
                sequential[alldates.indexOf(datum['日期'])].push(datum);
            }