This commit is contained in:
guange 2019-01-18 16:57:30 +08:00
parent d7fd6a1685
commit d6c93a0b4f
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ $(function(){
for(var key in top10_sells){
var base = top10_sells[0];
var data = top10_sells[key];
histogramChart3_names.push(data['product_name']);
histogramChart3_names.push(data['product_name'].substring(0,10));
histogramChart3_datas.push(data['good_c']);
var rate = data['good_c'] * 100 / base['good_c'];
histogramChart3_rates.push(rate.toFixed(0));