From 1569cfb95c465843b59c2c45a4d53bc95eb4a8f2 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Fri, 18 Jan 2019 19:02:18 +0800 Subject: [PATCH] . --- chapter2/mysite/myapp/static/scripts/trend.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chapter2/mysite/myapp/static/scripts/trend.js b/chapter2/mysite/myapp/static/scripts/trend.js index eca6254..bed694f 100755 --- a/chapter2/mysite/myapp/static/scripts/trend.js +++ b/chapter2/mysite/myapp/static/scripts/trend.js @@ -116,7 +116,10 @@ $(function(){ axisLabel : { textStyle: { color: '#fff' - } + }, + formatter: function (value) { + return value + "点" + }, } } ],