diff --git a/chapter2/mysite/myapp/static/scripts/trend.js b/chapter2/mysite/myapp/static/scripts/trend.js index 512eeb2..a9597d0 100755 --- a/chapter2/mysite/myapp/static/scripts/trend.js +++ b/chapter2/mysite/myapp/static/scripts/trend.js @@ -523,8 +523,8 @@ $(function(){ x: '0%', // for funnel itemStyle : labelFromatter, data : [ - {name:'华为支持度', value: sentiments.xiaomi_s}, - {name:'小米支持度', value: sentiments.huawei_s}, + {name:'小米支持度', value: sentiments.xiaomi_s}, + {name:'华为支持度', value: sentiments.huawei_s}, ] }, ],