diff --git a/src/forge/Activity/branchLine.jsx b/src/forge/Activity/branchLine.jsx index 2e6a81e9..2fe35e13 100644 --- a/src/forge/Activity/branchLine.jsx +++ b/src/forge/Activity/branchLine.jsx @@ -39,7 +39,18 @@ function Line({url}) { }) }, yAxis: { - name:"社群激发熵" + type: 'value', + scale: true, + name: '社\n群\n激\n发\n熵', + min:0, + splitLine : { + show : true, + }, + nameLocation:'end', + nameTextStyle:{ + fontSize:14, + padding:[0,70,-80,0] + } }, dataZoom: [ { diff --git a/src/forge/Activity/issueLine.jsx b/src/forge/Activity/issueLine.jsx index 43387099..8baf80f7 100644 --- a/src/forge/Activity/issueLine.jsx +++ b/src/forge/Activity/issueLine.jsx @@ -41,7 +41,18 @@ function Line({url}) { }) }, yAxis: { - name:"代码变更熵" + type: 'value', + scale: true, + name: '代\n码\n变\n更\n熵', + min:0, + splitLine : { + show : true, + }, + nameLocation:'end', + nameTextStyle:{ + fontSize:14, + padding:[0,70,-80,0] + } }, dataZoom: [ { diff --git a/src/forge/Activity/smoothLineTwo.jsx b/src/forge/Activity/smoothLineTwo.jsx index 34441923..fcac40df 100644 --- a/src/forge/Activity/smoothLineTwo.jsx +++ b/src/forge/Activity/smoothLineTwo.jsx @@ -52,7 +52,17 @@ function SmoothLineTwo({url}) { color: ['#ff6868','#1684fc',"#02cafd",'#a491d7','#e840f7',"#36bba6","#7b32b2"], yAxis: { type: 'value', - name:"社区演化熵" + scale: true, + name: '社\n区\n演\n化\n熵', + min:0, + splitLine : { + show : true, + }, + nameLocation:'end', + nameTextStyle:{ + fontSize:14, + padding:[0,70,-80,0] + } }, dataZoom: [ {