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 2022/06/28 08:19:20 UTC

[GitHub] [echarts] Jkarel opened a new issue, #17287: [Bug] 3D地球使用散点创建label,label总是被不明圆形物体遮挡

Jkarel opened a new issue, #17287:
URL: https://github.com/apache/echarts/issues/17287

   ### Version
   
   all
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
     var option = {
           globe: {
               baseTexture: "/finance-admin/upload/material/20220627/1D4D23A96F164610A576F522537E1C31.png",
        
               top: "middle",
               left: "center",
               environment: "none",
          
               shading: 'realistic',
               realisticMaterial: {
                   roughness: 0.2,
                   metalness: 0
               },
               viewControl: {
                   distance: 140,
                   autoRotate: true,
                   autoRotateDirection:ROTATE_DIRECTION
               },
               displacementScale: 0.04,
   
   
           },
           series: [{
               type: "lines3D",
               effect: {
                   show: true,
                   period: 3, //速度
                   trailLength: 0.1, //尾部阴影
               },
               lineStyle: {
                   //航线的视图效果
                   color: LINE_COLOR,
                   width: 1,
                   opacity: 0.6,
               },
               data: lineData, // 特效的起始、终点位置,一个二维数组,相当于coords: convertData(item[1])
           }, {
               type: 'scatter3D',
               coordinateSystem: 'globe',
               data: scatterData,
               label: {
                   textStyle: {
                       color: LABEL_TEXT_COLOR,
                       backgroundColor: LABEL_BACK_COLOR,
                       fontSize: LABEL_TEXT_SIZE,
                       padding: 8
                   },
                   show: true,
                   formatter: function(paramObject){
                       var ret = [];
                       ret.push(paramObject.data.name + "\n")
                       paramObject.data.datas.forEach(function(d){
                           ret.push( "\n" + d)
                       })
                       return ret.join("");
                   },
   
               },
               itemStyle: {
                   normal: {
                       color: POINT_COLOR,
                   },
               },
           }],
       };
   
   ### Current Behavior
   
   ![image](https://user-images.githubusercontent.com/13469579/176129960-c67db0e1-51aa-4c33-be5a-c5a51610bea4.png)
   
   
   ### Expected Behavior
   
   不应该被不明圆形遮挡
   
   ### Environment
   
   ```markdown
   - OS:window10
   - Browser:chrome
   - Framework: none
   ```
   
   
   ### Any additional comments?
   
   no


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

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] wengxuan commented on issue #17287: 3D Earth uses scatter to create labels, the labels are always occluded by unknown circular objects

Posted by GitBox <gi...@apache.org>.
wengxuan commented on issue #17287:
URL: https://github.com/apache/echarts/issues/17287#issuecomment-1352945583

   same bug


-- 
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: commits-unsubscribe@echarts.apache.org

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 #17287: [Bug] 3D地球使用散点创建label,label总是被不明圆形物体遮挡

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

   @Jkarel It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] 3D Earth uses scatter to create labels, the labels are always occluded by unknown circular objects
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

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