|
@@ -36,7 +36,7 @@ export default {
|
|
let myChart = this.$echarts.init(
|
|
let myChart = this.$echarts.init(
|
|
document.getElementById(`chart_${this.id}`)
|
|
document.getElementById(`chart_${this.id}`)
|
|
); //统计折线
|
|
); //统计折线
|
|
- pillar.series.data = this.texter.data;
|
|
|
|
|
|
+ pillar.series[0].data = this.texter.data;
|
|
pillar.title.text = this.texter.name;
|
|
pillar.title.text = this.texter.name;
|
|
pillar.title.subtext = this.texter.cont;
|
|
pillar.title.subtext = this.texter.cont;
|
|
pillar.title.top = this.texter.top;
|
|
pillar.title.top = this.texter.top;
|