diff --git a/chapter2/mysite/myapp/static/scripts/trend.js b/chapter2/mysite/myapp/static/scripts/trend.js index a9597d0..d0a0cfa 100755 --- a/chapter2/mysite/myapp/static/scripts/trend.js +++ b/chapter2/mysite/myapp/static/scripts/trend.js @@ -508,6 +508,14 @@ $(function(){ var pieChart2 = echarts.init(document.getElementById('pieChart2')); pieChart2.setOption({ + title: { + text: '情感分析', + textStyle:{ + fontSize:16, + color:'#32cd32' + }, + x:"center" + }, color: ['#87cefa','#FD6C88'], tooltip : {