|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
},
|
|
|
|
|
xAxis: {
|
|
|
|
|
// categories: ["Jan", "Jan", "Jan", 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
|
|
|
|
|
categories: <%= raw(@a_uname) %>
|
|
|
|
|
categories: <%= raw(@a_uname_code) %>
|
|
|
|
|
},
|
|
|
|
|
yAxis: {
|
|
|
|
|
title: {
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
plotOptions: {
|
|
|
|
|
series: {
|
|
|
|
|
marker: {
|
|
|
|
|
radius: 3, //曲线点半径,默认是4
|
|
|
|
|
radius: 3, //曲线点半径,默认是4
|
|
|
|
|
symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -51,23 +51,54 @@
|
|
|
|
|
enableMouseTracking: false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
series: [{
|
|
|
|
|
name: '改动或增加',
|
|
|
|
|
color: '#fd9e04',
|
|
|
|
|
|
|
|
|
|
// data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: '<b style="font-weight:normal ">总变更</b>',
|
|
|
|
|
color: '#d05d5a',
|
|
|
|
|
fontWeight: 'normal',
|
|
|
|
|
data: <%= @a_commits_changeset %>,
|
|
|
|
|
dataLabels: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '13px',
|
|
|
|
|
color: '#aaa',
|
|
|
|
|
fontFamily: 'Arial',
|
|
|
|
|
textShadow: '0px 0px 6px rgb(0, 0, 0), 0px 0px 3px rgb(f, f, f)',
|
|
|
|
|
fontWeight: 'normal'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
lineWidth: 1.5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '<b style="font-weight:normal ">改动或增加</b>',
|
|
|
|
|
color: '#5b6b76',
|
|
|
|
|
data: <%= @a_commits_add %>,
|
|
|
|
|
dataLabels: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '13px',
|
|
|
|
|
color: '#aaa',
|
|
|
|
|
fontFamily: 'Arial',
|
|
|
|
|
textShadow: '0px 0px 6px rgb(0, 0, 0), 0px 0px 3px rgb(f, f, f)',
|
|
|
|
|
fontWeight: 'normal'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
lineWidth: 1.5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '删除',
|
|
|
|
|
color: '#46baed ',
|
|
|
|
|
name: '<b style="font-weight:normal ">删除</b>',
|
|
|
|
|
color: '#84b5bb',
|
|
|
|
|
data: <%= @a_commits_del %>,
|
|
|
|
|
lineWidth: 1.5
|
|
|
|
|
},{
|
|
|
|
|
name: '总变更',
|
|
|
|
|
color: '#d397d5',
|
|
|
|
|
data: <%= @a_commits_changeset %>,
|
|
|
|
|
dataLabels: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '13px',
|
|
|
|
|
color: '#aaa',
|
|
|
|
|
fontFamily: 'Arial',
|
|
|
|
|
textShadow: '0px 0px 6px rgb(0, 0, 0), 0px 0px 3px rgb(f, f, f)',
|
|
|
|
|
fontWeight: 'normal'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
lineWidth: 1.5
|
|
|
|
|
}]
|
|
|
|
|
});
|
|
|
|
@ -120,9 +151,22 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
series: [{
|
|
|
|
|
name: '提交次数',
|
|
|
|
|
name: '<b style="font-weight:normal ">提交次数</b>',
|
|
|
|
|
fontWeight: 'normal',
|
|
|
|
|
color: '#d05d5a',
|
|
|
|
|
// data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
|
|
|
|
|
data: <%= @a_commits_num %>,
|
|
|
|
|
dataLabels: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '13px',
|
|
|
|
|
color: '#aaa',
|
|
|
|
|
fontFamily: 'Arial',
|
|
|
|
|
textShadow: '0px 0px 6px rgb(0, 0, 0), 0px 0px 3px rgb(f, f, f)',
|
|
|
|
|
fontWeight: 'normal'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
lineWidth: 1.5
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -133,4 +177,5 @@
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</script>
|
|
|
|
|
<div class="button-rep">当前分支:develop</div>
|