-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Chord charts #20522
base: v6
Are you sure you want to change the base?
feat: Chord charts #20522
Conversation
Thanks for your contribution! The pull request is marked to be |
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-20522@bfed24a |
Document changes are required in this PR. Please also make a PR to apache/echarts-doc for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the |
Brief Information
This pull request is in the type of:
What does this PR do?
Fixed issues
Details
The following are some highlights of the Chord implemented by this Pull Request.
Edges With Gradient
Other values include
'target'
(using target color as edge color) and'source'
(using source color as edge color).focus.emphasis
Behaves Similar To SankeyThis is effect of
focus: 'adjacency', which I use as the default value since it looks well and the interaction is more intuitive. Other values include
'none'and
'self'`.minAngle
andpadAngle
The current implementation of
minAngle
andpadAngle
have bugs with Pie Series (#20603) and Sunburst (#20602), so I re-implemented the logic in Chord Series. The bugs can be fixed with Pie and Sunburst in the future with the similar implementation of Chord.Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
Other information