CN-1384 1.behavior pattern:左边的列表垂直居中,右边的图像向左边移动

This commit is contained in:
hyx
2023-10-23 17:56:36 +08:00
parent 97d793471c
commit 5b7dd6da90
2 changed files with 9 additions and 11 deletions

View File

@@ -91,11 +91,10 @@
.behavior-pattern-legend {
display:flex;
flex-direction: column;
justify-content: center;
height: 100%;
display: flex;
padding:10px 18px 10px 18px;
width:500px;
display: flex;
width:400px;
.behavior-pattern-legend__item {
display:flex;
flex-direction: row;
@@ -110,19 +109,19 @@
border-radius: 1px;;
}
.legend-name {
width:200px;
width:180px;
font-weight: 400;
}
.legend-value{
display: flex;
justify-content: left;
margin-left:30px;
width:100px;
margin-left:20px;
width:90px;
font-weight: 500;
}
.legend-percent {
margin-left:30px;
width:80px;
margin-left:20px;
width:70px;
justify-content: left;
display: flex;
font-weight: 500;
@@ -131,11 +130,10 @@
}
.behavior-pattern-chart{
height: calc(100% - 50px);
width:calc(100% - 600px);
width:calc(100% - 400px);
position: relative
}
}
}
.entity-detail-event-error {

View File

@@ -161,7 +161,7 @@ export const pieChartOption4 = {
color: chartColorForBehaviorPattern,
polar: {
radius: [30, '150%'],
center: ['50%', '99.9%']// 为了显示出来半圆底部左侧的边
center: ['400px', '99.9%']// 为了显示出来半圆底部左侧的边
},
radiusAxis: {
min: 0,