diff --git a/src/view/echarts_work/ePjz.vue b/src/view/echarts_work/ePjz.vue
index ccf1ad6..cd729e5 100644
--- a/src/view/echarts_work/ePjz.vue
+++ b/src/view/echarts_work/ePjz.vue
@@ -40,6 +40,15 @@ const color = [
const option = {
color,
calculable: true,
+ legend: {
+ data: ["总救助金额", "总救助人数"],
+ top: "8%",
+ bottom: "9%",
+ textStyle: {
+ fontSize: 12,
+ color: "#ffffff", //上文字标题颜色
+ },
+ },
tooltip: {
trigger: "axis",
formatter: "{b0}
{a1}:{c0}
{a2}:{c1}",
@@ -50,15 +59,6 @@ const option = {
},
},
},
- legend: {
- data: ["总救助金额", "总救助人数"],
- top: "8%",
- bottom: "9%",
- textStyle: {
- fontSize: 12,
- color: "#ffffff", //上文字标题颜色
- },
- },
grid: {
left: "6%",
right: "9%",
@@ -312,6 +312,8 @@ const option = {
// ]
};
+
+
onMounted(() => {
var myChart = echarts.init(chart.value);
myChart.setOption(option);
diff --git a/src/view/yl.vue b/src/view/yl.vue
index b35aa5f..1b2d497 100644
--- a/src/view/yl.vue
+++ b/src/view/yl.vue
@@ -127,13 +127,13 @@
-