This commit is contained in:
guange 2019-01-18 16:33:31 +08:00
parent 94ecc88bd6
commit 83c2fd9ea3
1 changed files with 3 additions and 2 deletions

View File

@ -224,8 +224,9 @@ $(function(){
var histogramChart3_names = []; var histogramChart3_names = [];
var histogramChart3_datas =[]; var histogramChart3_datas =[];
for(var key in top10_sells){ for(var key in top10_sells){
histogramChart3_names.push(key['product_name']); var data = top10_sells[key];
histogramChart3_datas.push(key['good_c']); histogramChart3_names.push(data['product_name']);
histogramChart3_datas.push(data['good_c']);
} }