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 2021/05/18 09:42:15 UTC

[GitHub] [echarts] yizhengfeng-jj opened a new issue #14981: Paste an ecart instance to the basetexture, and some functions of the instance fail, such as tooltip

yizhengfeng-jj opened a new issue #14981:
URL: https://github.com/apache/echarts/issues/14981


   ### Version
   5.1.1
   
   ### Reproduction link
   [https://codesandbox.io/s/3d-demo-nbq6y](https://codesandbox.io/s/3d-demo-nbq6y)
   
   ### Steps to reproduce
   step1:
   定义echats实例
   ```javascript
       var canvas = document.createElement('canvas');
       var mapGraphChart = echarts.init(canvas, null, {
       width: 4096, height: 2048
   });
   mapGraphChart.setOption({
       legend: {},
       tooltip: {},
       dataset: {
           dimensions: ['product', '2015', '2016', '2017'],
           source: [
               {product: 'Matcha Latte', '2015': 43.3, '2016': 85.8, '2017': 93.7},
               {product: 'Milk Tea', '2015': 83.1, '2016': 73.4, '2017': 55.1},
               {product: 'Cheese Cocoa', '2015': 86.4, '2016': 65.2, '2017': 82.5},
               {product: 'Walnut Brownie', '2015': 72.4, '2016': 53.9, '2017': 39.1}
           ]
       },
       xAxis: {type: 'category'},
       yAxis: {},
       // Declare several bar series, each will be mapped
       // to a column of dataset.source by default.
       series: [
           {type: 'bar'},
           {type: 'bar'},
           {type: 'bar'}
       ]
   });
   ```
   stpe2:替换baseTexture
   ```javascript
     myChart.setOption({
           backgroundColor: '#000',
           light: {
               main: {
                   // color: '#fff'
               }
           },
           globe: {
               baseTexture: mapGraphChart,
               heightTexture: mapGraphChart,
   
               shading: 'lambert',
   
               light: {
                   ambient: {
                       intensity: 0.4
                   },
                   main: {
                       intensity: 0.4
                   }
               },
   
               viewControl: {
                   autoRotate: false
               }
           }
       });
   ```
   
   ### What is expected?
   I hope the functions of ecarts instances are all in the
   
   ### What is actually happening?
   Tooltip failure
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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] [echarts] echarts-bot[bot] commented on issue #14981: Paste an ecart instance to the basetexture, and some functions of the instance fail, such as tooltip

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


   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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 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