echart实时链接

html:
js:
let chartCar = echarts.init(this.$refs.ichart)

    let that = this
    let x = this.x
    let y = this.y
    this.$axios.post('', {
    },{
      headers: {'Content-Type': 'application/json '}
    }).then(res => {
      that.data =  res.data
      for(let i=0;i 
 

你可能感兴趣的:(echart实时链接)