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/09/16 08:01:23 UTC

[GitHub] [incubator-echarts] zjscy666 opened a new issue #13295: zr.painter.isSingleCanvas is not a function

zjscy666 opened a new issue #13295:
URL: https://github.com/apache/incubator-echarts/issues/13295


   ### Version
   4.8.0
   
   ### Steps to reproduce
   "echarts-gl": "^1.1.1",
   
   1.
   import echarts from 'echarts';
   import 'echarts-gl';
   // 散点图
   require('echarts/lib/chart/scatter');
   // 散点图放大
   require('echarts/lib/chart/effectScatter');
   // 地图
   require('echarts/lib/chart/map');
   // 图例
   require('echarts/lib/component/legend');
   // 提示框
   require('echarts/lib/component/tooltip');
   // 地图geo
   require('echarts/lib/component/geo');
   require('echarts/map/js/china');
   require('echarts/map/js/world');
   
   export default echarts;
   
   option = {
       backgroundColor: '#000',
       globe: {
           baseTexture: ROOT_PATH   '/data-gl/asset/earth.jpg',
           heightTexture: ROOT_PATH   '/data-gl/asset/bathymetry_bw_composite_4k.jpg',
   
           displacementScale: 0.1,
   
           shading: 'lambert',
   
           environment: ROOT_PATH   '/data-gl/asset/starfield.jpg',
   
           light: {
               ambient: {
                   intensity: 0.1
               },
               main: {
                   intensity: 1.5
               }
           },
   
           layers: [{
               type: 'blend',
               blendTo: 'emission',
               texture: ROOT_PATH   '/data-gl/asset/night.jpg'
           }, {
               type: 'overlay',
               texture: ROOT_PATH   '/data-gl/asset/clouds.png',
               shading: 'lambert',
               distance: 5
           }]
       },
       series: []
   }
   官网的例子放入
   
   ### What is expected?
   官网的结果
   https://echarts.apache.org/examples/zh/editor.html?c=globe-layers&gl=1
   
   ### What is actually happening?
   zr.painter.isSingleCanvas is not a function
   
   ---
   太难了
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13295: zr.painter.isSingleCanvas is not a function

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13295:
URL: https://github.com/apache/incubator-echarts/issues/13295#issuecomment-693243249


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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


[GitHub] [incubator-echarts] pissang commented on issue #13295: zr.painter.isSingleCanvas is not a function

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13295:
URL: https://github.com/apache/incubator-echarts/issues/13295#issuecomment-696619625


   是不是用了 svg 渲染模式


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


[GitHub] [incubator-echarts] pissang commented on issue #13295: zr.painter.isSingleCanvas is not a function

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13295:
URL: https://github.com/apache/incubator-echarts/issues/13295#issuecomment-696619625


   是不是用了 svg 渲染模式


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