forked from Gitlink/forgeplus-react
echar图调整
This commit is contained in:
parent
e6783758a4
commit
e9bf164be4
|
@ -259,10 +259,10 @@ class Activity extends Component{
|
|||
<div className="normalBox mt20">
|
||||
<div class="normalBox-title">项目演化分析</div>
|
||||
<div className="echartBox">
|
||||
<span className="echartTitle">项目演化图</span>
|
||||
<span className="echartTitle" style={{marginTop:0}}>项目演化图</span>
|
||||
{/* <ProjectScale data={undefined} url={ai_shang_v2_url}/> */}
|
||||
<SmoothLine url={ai_shang_v2_url}/>
|
||||
<div style={{marginTop:"40px"}}>
|
||||
{/* <SmoothLine url={ai_shang_v2_url}/> */}
|
||||
<div>
|
||||
<SmoothLineTwo url={ai_shang_v4_url}/>
|
||||
</div>
|
||||
<span className="echartTitle">分支演化图</span>
|
||||
|
|
|
@ -74,6 +74,8 @@
|
|||
position: relative;
|
||||
padding-left: 20px;
|
||||
font-size: 16px;
|
||||
margin-top: 40px;
|
||||
display: block;
|
||||
}
|
||||
.echartTitle::before{
|
||||
position: absolute;
|
||||
|
@ -83,7 +85,7 @@
|
|||
background-color: #466AFF;
|
||||
border-radius: 2px;
|
||||
left: 0px;
|
||||
top:3px;
|
||||
top:11px;
|
||||
}
|
||||
.commentsBox{
|
||||
border-radius: 4px;
|
||||
|
|
|
@ -31,7 +31,7 @@ function Line({url}) {
|
|||
grid: {
|
||||
left: '5%',
|
||||
right: '1%',
|
||||
bottom: '18%'
|
||||
top: '5%'
|
||||
},
|
||||
xAxis: {
|
||||
data: data.map(function (item) {
|
||||
|
|
|
@ -33,7 +33,7 @@ function Line({url}) {
|
|||
grid: {
|
||||
left: '5%',
|
||||
right: '1%',
|
||||
bottom: '18%'
|
||||
top: '5%'
|
||||
},
|
||||
xAxis: {
|
||||
data: data.map(function (item) {
|
||||
|
|
|
@ -41,10 +41,10 @@ function SmoothLineTwo({url}) {
|
|||
grid: {
|
||||
left: '5%',
|
||||
right: '1%',
|
||||
bottom: '18%'
|
||||
top: '5%'
|
||||
},
|
||||
legend: {
|
||||
data: ['index_split', 'index_shrink' ,'index_merge', 'index_expand']
|
||||
data: ['分裂指数', '缩减指数' ,'合并指数', '扩张指数']
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis'
|
||||
|
|
Loading…
Reference in New Issue