+
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue b/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue
index 64968301..ef025963 100644
--- a/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue
+++ b/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue
@@ -57,12 +57,22 @@ export default {
{
name: '本期',
type: 'bar',
- data: []
+ data: [],
+ barWidth: 20,
+ label: {
+ show: true,
+ position: 'top'
+ }
},
{
name: '上期',
type: 'bar',
- data: []
+ data: [],
+ barWidth: 20,
+ label: {
+ show: true,
+ position: 'top'
+ }
}
]
for (let j = 0; j < arr.length; j++) {
@@ -79,6 +89,7 @@ export default {
// title: {
// text: 'World Population'
// },
+ color:['#288AFF','#8EF0AB'],
tooltip: {
trigger: 'axis',
axisPointer: {
@@ -87,8 +98,8 @@ export default {
},
legend: {},
grid: {
- left: '3%',
- right: '4%',
+ left: '1%',
+ right: '1%',
bottom: '3%',
containLabel: true
},
diff --git a/src/views/energy/analysis/qoqAnalysis/index.vue b/src/views/energy/analysis/qoqAnalysis/index.vue
index d8e9766e..25918374 100644
--- a/src/views/energy/analysis/qoqAnalysis/index.vue
+++ b/src/views/energy/analysis/qoqAnalysis/index.vue
@@ -3,14 +3,18 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue b/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue
index 6d80bd0e..e7650d8d 100644
--- a/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue
+++ b/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue
@@ -75,6 +75,7 @@ export default {
}
}
var option = {
+ color:['#FFDC94','#8EF0AB','#63BDFF','#288AFF','#7164FF','#FF6860','#FF9747','#B0EB42','#D680FF','#0043D2'],
legend: {
data: keys
},
@@ -82,8 +83,8 @@ export default {
trigger: 'axis'
},
grid: {
- left: '3%',
- right: '4%',
+ left: '1%',
+ right: '1%',
bottom: '3%',
containLabel: true
},
diff --git a/src/views/energy/analysis/yoyAnalysis/components/subRate.vue b/src/views/energy/analysis/yoyAnalysis/components/subRate.vue
new file mode 100644
index 00000000..9aef9955
--- /dev/null
+++ b/src/views/energy/analysis/yoyAnalysis/components/subRate.vue
@@ -0,0 +1,18 @@
+
+
+
+
+ {{ injectData[injectData.prop] }}
+
+
+
\ No newline at end of file
diff --git a/src/views/energy/analysis/yoyAnalysis/index.vue b/src/views/energy/analysis/yoyAnalysis/index.vue
index 2a697c6a..670c2563 100644
--- a/src/views/energy/analysis/yoyAnalysis/index.vue
+++ b/src/views/energy/analysis/yoyAnalysis/index.vue
@@ -2,20 +2,25 @@