taohewu opened a new issue #9226: GL 矢量场图报Cannot read property 'dimensions' of 
null
URL: https://github.com/apache/incubator-echarts/issues/9226
 
 
   
使用的是http://www.echartsjs.com/examples/editor.html?c=global-wind-visualization-2&gl=1的示例代码,我这边本地代码如下
   
   <script src="js/jquery.min.js"></script>
   <script src="js/echarts.min.js"></script>
   <script src="js/echarts-gl.min.js"></script>
   
   <!-- 为 ECharts 准备一个具备大小(宽高)的 DOM -->
   <div id="main" style="width: 1000px;height:800px;"></div>
   <script type="text/javascript">
   // 基于准备好的dom,初始化echarts实例
   var myChart = echarts.init(document.getElementById('main'));
   
   
   但在浏览器中访问,报Cannot read property 'dimensions' of null错误,图像无法显示,请问是哪里遗漏了吗?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to