You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/07/06 08:33:21 UTC

[GitHub] [incubator-echarts] luisenriqueramos1977 commented on issue #12916: Cannot read property 'getElementById' of undefined

luisenriqueramos1977 commented on issue #12916:
URL: https://github.com/apache/incubator-echarts/issues/12916#issuecomment-654095326


   Dear Wang,
   
   thanks for your quick response, the code I using is exactly the one it is
   published in this source
   
   https://echarts.apache.org/en/tutorial.html#Use%20ECharts%20with%20webpack
   
   this is the code:
   
   var echarts = require('echarts'); // initialize echarts instance with
   prepared DOM var myChart = echarts.init(document.getElementById('main')); //
   draw chart myChart.setOption({ title: { text: 'ECharts entry example' },
   tooltip: {}, xAxis: { data: ['shirt', 'cardign', 'chiffon shirt', 'pants',
   'heels', 'socks'] }, yAxis: {}, series: [{ name: 'sales', type: 'bar', data:
   [5, 20, 36, 10, 10, 20] }] });
   
   
   Until now, I have not been able to run any example, all generate errors.
   
   
   Luis Ramos
   
   
   
   
   El lun., 6 jul. 2020 a las 10:29, Zhongxiang.Wang (<no...@github.com>)
   escribió:
   
   > I think there may be missing some detailed information.
   >
   >    1. What does your source code like?
   >    2. Are there some grammar or usage errors in your source code?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/incubator-echarts/issues/12916#issuecomment-654093292>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ALS7GAHAY72JQBIPQZL4KT3R2GDNPANCNFSM4ORKSKWQ>
   > .
   >
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org