diff --git a/src/views/QualityManager/components/TechyAnalysisHeader.vue b/src/views/QualityManager/components/TechyAnalysisHeader.vue
index d54c7b6..3300f13 100644
--- a/src/views/QualityManager/components/TechyAnalysisHeader.vue
+++ b/src/views/QualityManager/components/TechyAnalysisHeader.vue
@@ -4,10 +4,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -410,7 +289,7 @@ export default {
width: calc(8px * var(--beilv));
height: calc(8px * var(--beilv));
background: #fffc;
- margin-right: calc(8px * var(--beilv));
+ margin-right: calc(4px * var(--beilv));
}
.pla::before {
diff --git a/src/views/QualityManager/components/charts/TechyBar.vue b/src/views/QualityManager/components/charts/TechyBar.vue
index 4255c99..09c043c 100644
--- a/src/views/QualityManager/components/charts/TechyBar.vue
+++ b/src/views/QualityManager/components/charts/TechyBar.vue
@@ -159,7 +159,7 @@ export default {
option: {
grid: {
left: '10%',
- top: 48,
+ top: 72,
bottom: 28
},
xAxis: {
@@ -195,13 +195,14 @@ export default {
type: 'value',
// min: -25,
min: this.extraSpaceBetweenZero * -1,
- name: this.unitName,
+ name: this.unitName + ' ',
nameTextStyle: {
color: '#fff8',
- fontSize: 8,
+ fontSize: 12,
verticalAlign: 'top',
align: 'right'
},
+ nameGap: 20,
axisLine: {
show: true,
lineStyle: {
@@ -210,7 +211,7 @@ export default {
},
axisLabel: {
color: '#fff8',
- fontSize: 10,
+ fontSize: 12,
/** y轴不从0开始,也可以用 xAxis 向下 offset 的方式模拟 **/
formatter: function(value, index) {
if (value < 0) {