|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: your name
|
|
|
* @Date: 2021-10-08 17:24:29
|
|
|
- * @LastEditTime: 2021-12-02 10:18:24
|
|
|
+ * @LastEditTime: 2021-12-09 17:19:23
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
* @Description: 存栏结构 - 存栏变动折线图
|
|
|
* @FilePath: \hyyfClient\src\views\PdcData\analysis\ChartInventoryLines.vue
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
// legend: {
|
|
|
// data: ['头']
|
|
|
// },
|
|
|
- color: ["#3aa0ff", "#4dcb73", "#fad337", "#f2637b", "#975fe4"],
|
|
|
+ color: ["#3aa0ff", "#403DEA", "#226942", "#1AD06C", "#975fe4"],
|
|
|
grid: {
|
|
|
top: "20%",
|
|
|
left: "10%",
|
|
@@ -134,9 +134,9 @@ export default {
|
|
|
data: this.data.boarStock,
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
- color: "#4dcb73",
|
|
|
+ color: "#403DEA",
|
|
|
lineStyle: {
|
|
|
- color: "#4dcb73",
|
|
|
+ color: "#403DEA",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -148,9 +148,9 @@ export default {
|
|
|
data: this.data.griceStock,
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
- color: "#fad337",
|
|
|
+ color: "#226942",
|
|
|
lineStyle: {
|
|
|
- color: "#fad337",
|
|
|
+ color: "#226942",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -162,9 +162,9 @@ export default {
|
|
|
data: this.data.pigletStock,
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
- color: "#f2637b",
|
|
|
+ color: "#1AD06C",
|
|
|
lineStyle: {
|
|
|
- color: "#f2637b",
|
|
|
+ color: "#1AD06C",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -176,9 +176,9 @@ export default {
|
|
|
data: this.data.fatpigStock,
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
- color: "#975fe4",
|
|
|
+ color: "#C03DEA",
|
|
|
lineStyle: {
|
|
|
- color: "#975fe4",
|
|
|
+ color: "#C03DEA",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -192,12 +192,12 @@ export default {
|
|
|
// }
|
|
|
],
|
|
|
};
|
|
|
- this.myChart.setOption(options);
|
|
|
+ this.myChart.setOption(options, true);
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
this.myChart = this.$echarts.init(document.getElementById("chartLines"));
|
|
|
- // this.init();
|
|
|
+ this.init();
|
|
|
},
|
|
|
watch: {
|
|
|
data: {
|