You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "LiangJavaDS (via GitHub)" <gi...@apache.org> on 2023/02/07 02:05:55 UTC
[GitHub] [echarts] LiangJavaDS opened a new issue, #18247: [Bug] Custom arrows are covered by node. And series-graph && layout = 'circular'
LiangJavaDS opened a new issue, #18247:
URL: https://github.com/apache/echarts/issues/18247
### Version
5.3.1
### Link to Minimal Reproduction
https://codesandbox.io/s/echrtsdemo-kfd7ij?file=/index.html
### Steps to Reproduce
1. Create a series-graph chart with circular layout.
2. Add svg image as custom arrows to the chart.
3. Observe that the custom arrows are covered by the nodes.
### Current Behavior
The custom arrows are covered by the nodes.
### Expected Behavior
Custom arrows should be able to adjust the distance from the node
### Environment
```markdown
- OS:windows 11 企业版
- Browser: Chrome 88.0.4324.150(正式版本)
- Framework: React 17.2.2
```
### 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
[GitHub] [echarts] helgasoft commented on issue #18247: [Bug] Custom arrows are covered by node. And series-graph && layout = 'circular'
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18247:
URL: https://github.com/apache/echarts/issues/18247#issuecomment-1432408645
Variable **sv1** contains [SVG path commands](https://www.w3schools.com/graphics/svg_path.asp), like M = moveto,
L = lineto, etc. They are all relative to the start point, which is the line end.
--
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] LiangJavaDS commented on issue #18247: [Bug] Custom arrows are covered by node. And series-graph && layout = 'circular'
Posted by "LiangJavaDS (via GitHub)" <gi...@apache.org>.
LiangJavaDS commented on issue #18247:
URL: https://github.com/apache/echarts/issues/18247#issuecomment-1432336767
Thank you for taking the time to help me out. Your expertise has been invaluable! I have a follow-up question, could you provide me with some guidance on this as well? How do you keep the arrow out of line, put the arrow on the line ?
--
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] helgasoft commented on issue #18247: [Bug] Custom arrows are covered by node. And series-graph && layout = 'circular'
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18247:
URL: https://github.com/apache/echarts/issues/18247#issuecomment-1426410730
A workaround using SVG command [translate](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/translate).
Turns out _some_ SVG commands are allowed, but need experimentation. They are not documented for [path://](https://echarts.apache.org/en/option.html#series-graph.symbol).
[Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=M4NwjAvABARADgQwC4AsBcB6DATCByAWSjAE4A6ABhOIFYyAWAdigBliwywaoAmV4ilEFsAHGRHc-bCmRJhaDZtOJLegsMwBaUIgGYyPHhWMnTJgGwKm_MIP0ldN82UYir5kp6_evUTXhgAagBYACgoCIiYJAAnBAA7YAAbZABTAApBAFpdXQBKGABuMIB7OCQASxL4qAgAbzCIyqQk1LQoBvDIpFSADyR2mABRAGEUBBikYCgAcTi4FCgh3oQAWzhWnhhGqABfABodpBKSpMq4drqDneBUmIrU4EudpoBPODbYAHN5lBhDroRFKvEoAVwGsAAxhUYpDQSkYv8XlAYiU1u1YqDUgDIlB4iVsI92gBtZERTq43EVbCDACCSMBlPia0-MHpOMpEWAr1WACNTgBlCoAL0-RjJew5uIpnKg1MGACEGbK8SzFcrZdy-YKRWKKBLrozyRKIvLYCMNZzmatWRapZStfykkLRe1xUbJRKZZyzTAACKWplq2AB-24x0610CfUe3bIgC69qSFXiAGsnlBSR7vQ6wbDWeyTVAkBMvqkIf7A7jk_FUgKkK9Ws8PbiGx9BsBTtT_lAAO7U1BoRz7SGnEoxdp4GKpbB4IuGlURpIkmD42s90BgRNFpcuz65A1hjo7vOQ1lKo9NUvlwahos1usNpvHlvdd6szvJ7DbV-GrCcpcVzXVIexgCpVgQMtMAwCZUV7MhQC-GBt1jI8c3DU9bSrbprwrO9XwfetG0-dDKTbD8u2_fY-wHdBh1HJJx0nadZ3nS8oEAzNV2qEDqM3FDFx5J093aA9YwTHY41CXYgA)

--
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] LiangJavaDS closed issue #18247: [Bug] Custom arrows are covered by node. And series-graph && layout = 'circular'
Posted by "LiangJavaDS (via GitHub)" <gi...@apache.org>.
LiangJavaDS closed issue #18247: [Bug] Custom arrows are covered by node. And series-graph && layout = 'circular'
URL: https://github.com/apache/echarts/issues/18247
--
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