From 6aa5af0078bb792eabaa2a0adc55411a8e3f1014 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Mon, 21 Jan 2019 17:22:12 +0800 Subject: [PATCH] 1 --- chapter2/mysite/myapp/static/scripts/trend.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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 : {