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 + "点" + }, } } ],