zhitan-vue/src/views/comprehensive/comps/LineChart.vue
@@ -31,6 +31,10 @@ } ) onMounted(() => { initChart() }) function initChart(value) { const chartDom = document.getElementById("ChartDom") if (echarts.getInstanceByDom(chartDom)) { @@ -45,7 +49,7 @@ color: "#2979ff", }, }, color: ["#2979ff", "#19be6b", "#ff9900", "#fa3534"], color: ["#40c2ff", "#2979ff", "#ff9900", "#fa3534"], tooltip: { trigger: "axis", axisPointer: { @@ -61,7 +65,7 @@ }, }, grid: { top: "40", top: "60", left: "50", right: "40", bottom: "20",