JiahuiChen99 edited a comment on issue #16659:
URL: https://github.com/apache/echarts/issues/16659#issuecomment-1063867908


   I'm using a common variable. In vue data() I have a heatmap_chart variable 
initialized to null, and on component mounted() event  I create the chart and 
assign it to the variable. It doesn't work :thinking: 
   
   ```
   mounted() {
      let heatmapDom = document.getElementById('chart');
      this.heatmap_chart = echarts.init(heatmapDom);
   
      this.heatmap.setOption(data);
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to