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/08/30 03:13:51 UTC

[GitHub] [echarts] stay3hungry opened a new issue, #17592: [Bug] graph关系图关系线显示异常,出现偏移。

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

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   设置chart option
   
   ```javascript
   option = {
      series: [
       {
         type: 'graph',
         data: [
             {
                 "name": "A",
                 "x": 40,
                 "y": 10
             },
             {
                 "name": "B",
                 "x": 42,
                 "y": 10
             }
         ],
         links: [
             {
                 "source": "A",
                 "target": "B",
             }
         ],
       }
     ]
   };
   ```
   
   ### Current Behavior
   
   ## 上述option配置时,关系线出现偏移:
   ![image](https://user-images.githubusercontent.com/30168570/187340085-6cf423a9-70fa-4499-b6b4-92b55df5dd0d.png)
   ## 但是当设置lineStyle(大于1.5)时,关系线位置正常:
   ![image](https://user-images.githubusercontent.com/30168570/187340283-bc6c6090-4e66-4186-99e3-bc2344a907cb.png)
   
   
   ### Expected Behavior
   
   关系线位置应该保持正确
   
   ### Environment
   
   ```markdown
   - OS: windows
   - Browser: Chroem  104.0.5112.101
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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


Re: [I] [Bug] graph关系图 节点x或者y相同时,关系线显示异常,出现偏移。 [echarts]

Posted by "xianmudalao (via GitHub)" <gi...@apache.org>.
xianmudalao commented on issue #17592:
URL: https://github.com/apache/echarts/issues/17592#issuecomment-1832992907

   解决了吗


-- 
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 #17592: [Bug] graph关系图关系线显示异常,出现偏移。

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

   @stay3hungry 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] The graph relationship line is displayed abnormally and is offset.
   
   **BODY**
   
   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   set chart option
   
   ````javascript
   option = {
      series: [
       {
         type: 'graph',
         data: [
             {
                 "name": "A",
                 "x": 40,
                 "y": 10
             },
             {
                 "name": "B",
                 "x": 42,
                 "y": 10
             }
         ],
         links: [
             {
                 "source": "A",
                 "target": "B",
             }
         ],
       }
     ]
   };
   ````
   
   ### Current Behavior
   
   ## When the above option is configured, the relationship line is offset:
   ![image](https://user-images.githubusercontent.com/30168570/187340085-6cf423a9-70fa-4499-b6b4-92b55df5dd0d.png)
   ## But when the lineStyle is set (greater than 1.5), the relationship line position is normal:
   ![image](https://user-images.githubusercontent.com/30168570/187340283-bc6c6090-4e66-4186-99e3-bc2344a907cb.png)
   
   
   ### Expected Behavior
   
   Relationship line position should remain correct
   
   ### Environment
   
   ````markdown
   - OS: windows
   - Browser: Chroem 104.0.5112.101
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </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


Re: [I] [Bug] graph关系图 节点x或者y相同时,关系线显示异常,出现偏移。 [echarts]

Posted by "huwenbiao (via GitHub)" <gi...@apache.org>.
huwenbiao commented on issue #17592:
URL: https://github.com/apache/echarts/issues/17592#issuecomment-1809489011

   我出现了类似的问题,在重复加载数据时,边与节点会跑偏,但layoutAnimation打开后就好了。


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