diff --git a/app/views/projects/_rep_static.html.erb b/app/views/projects/_rep_static.html.erb
index 9ebf68d0c..d687c8f7e 100644
--- a/app/views/projects/_rep_static.html.erb
+++ b/app/views/projects/_rep_static.html.erb
@@ -20,6 +20,11 @@
// text: 'Source: WorldClimate.com'
},
xAxis: {
+ title: {
+ text: '作者',
+ x: -23, //center设置标题的位置
+ y: 6
+ },
// categories: ["Jan", "Jan", "Jan", 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
categories: <%= raw(@a_uname_code) %>
},
@@ -70,7 +75,7 @@
lineWidth: 1.5
},
{
- name: '改动或增加',
+ name: '改动或增加',
color: '#5b6b76',
data: <%= @a_commits_add %>,
dataLabels: {
@@ -122,6 +127,11 @@
// text: 'Source: WorldClimate.com'
},
xAxis: {
+ title: {
+ text: '作者',
+ x: -20, //center设置标题的位置
+ y: 6
+ },
// categories: ["Jan", "Jan", "Jan", 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
categories: <%= raw(@a_uname) %>
},