From eb07bc16cb0b06f3b96a4f59d74f82b62195f096 Mon Sep 17 00:00:00 2001
From: yichenxi <yichenxi0601@163.com>
Date: Mon, 12 Dec 2022 13:56:47 +0800
Subject: [PATCH] 1、尘负荷走航路段报告
---
src/components/Echarts/LineChart2.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/components/Echarts/LineChart2.vue b/src/components/Echarts/LineChart2.vue
index a74acd0..285cc43 100644
--- a/src/components/Echarts/LineChart2.vue
+++ b/src/components/Echarts/LineChart2.vue
@@ -1,3 +1,4 @@
+<<<<<<< HEAD
<template>
<div :class="className" :style="{ height: height, width: width }" />
</template>
@@ -79,6 +80,7 @@
this.setOptions(this.chartData)
},
setOptions(val) {
+ // console.log(val,'123');
function fontSize(res) {
let clientWidth =
window.innerWidth ||
@@ -104,7 +106,7 @@
data: val.xAxis,
boundaryGap: false,
axisTick: {
- show: false,
+ show: true,
},
// axisTick: { // ������������������������������
// alignWithLabel: true,
@@ -138,7 +140,7 @@
tooltip: {
trigger: 'axis',
position: function (pt) {
- return [pt[1], '-14%']
+ return [pt[1], '-13%']
},
textStyle: {
fontSize: fontSize(0.117), // ������������
@@ -176,7 +178,7 @@
{
start: 0,
end: 20,
- bottom: fontSize(3.3),
+ top: fontSize(4.8),
height: fontSize(0.5),
},
],
@@ -189,3 +191,4 @@
},
}
</script>
+
--
Gitblit v1.8.0