Browse Source

mark

pull/92/head
liwei 3 years ago
parent
commit
26fc7046d6
2 changed files with 151505 additions and 94046 deletions
  1. +151501
    -94042
      public/echarts.js
  2. +4
    -4
      src/views/DataV/lineMark.vue

+ 151501
- 94042
public/echarts.js
File diff suppressed because it is too large
View File


+ 4
- 4
src/views/DataV/lineMark.vue View File

@ -27,7 +27,7 @@
echartsData: {
handler(newValue, oldValue) {
if(JSON.stringify(newValue) != JSON.stringify(oldValue)){
this.lineMarkAreaChart && this.lineMarkAreaChart.setOption && this.lineMarkAreaChart.setOption(newValue);
this.lineMarkChart && this.lineMarkChart.setOption && this.lineMarkChart.setOption(newValue);
}
},
deep: true
@ -35,9 +35,9 @@
},
mounted() {
// 线
var lineMarkArea = document.getElementById(this.lineMarkId);
this.lineMarkAreaChart = new window.echarts.lineMarkArea(lineMarkArea);
this.lineMarkAreaChart.setOption(this.echartsData || {});
var lineMark = document.getElementById(this.lineMarkId);
this.lineMarkChart = new window.echarts.lineMark(lineMark);
this.lineMarkChart.setOption(this.echartsData || {});
}
}


Loading…
Cancel
Save