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:54 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17592: [Bug] graph关系图关系线显示异常,出现偏移。

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