|
@@ -28,7 +28,7 @@
|
|
|
:destroy-on-close="true"
|
|
|
center
|
|
|
>
|
|
|
- <div id="main" ref="fullChart" :style="'width:100%;height:' + (screenHeight - 110) + 'px'"/>
|
|
|
+ <div id="forecastFullChart" ref="fullChart" :style="'width:100%;height:' + (screenHeight - 110) + 'px'"/>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
window.addEventListener("resize", this.chartsResize);
|
|
|
},
|
|
|
setFullOptions({realList, ableList,theoryList,dqList,cdqList,timeList} = {}) {
|
|
|
- this.fullChart = this.$echarts.init(document.getElementById('main'));
|
|
|
+ this.fullChart = this.$echarts.init(document.getElementById('forecastFullChart'));
|
|
|
let option = JSON.parse(JSON.stringify(lineOption))
|
|
|
option.series[0].data = realList
|
|
|
option.series[1].data = ableList
|