feat: 修改图标 x 轴 顺序问题
This commit is contained in:
parent
1b5bd4255c
commit
48ce15857b
|
@ -417,8 +417,8 @@ export default {
|
|||
});
|
||||
let chartDom = document.getElementById("myChart");
|
||||
that.myChart = echarts.init(chartDom);
|
||||
that.option.xAxis.data = xAxisData.reverse();
|
||||
that.option.series[0].data = lineData.reverse();
|
||||
that.option.xAxis.data = xAxisData;
|
||||
that.option.series[0].data = lineData;
|
||||
that.myChart.setOption(that.option);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue