Skip to content
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

[Feature] emphasis full path of link/node from start to finish of chart #17448

Closed
ElayGelbart opened this issue Jul 31, 2022 · 1 comment · Fixed by #17451
Closed

[Feature] emphasis full path of link/node from start to finish of chart #17448

ElayGelbart opened this issue Jul 31, 2022 · 1 comment · Fixed by #17451
Labels
en This issue is in English new-feature topic: sankey

Comments

@ElayGelbart
Copy link
Contributor

What problem does this feature solve?

for Sankey series, emphasis focus can have 4 options: "none" | "series" | "self" | "adjacency".
i want to be able to focus all the path of connected edges and node from start to end of the selected edge\node and not only one depth before after

What does the proposed API look like?

new option for emphasis: "fullPath"

Example:

chart.setOption({
  series: [{
    type: 'sankey', 
   data: sankeyData.nodes,
   links: sankeyData.links,
   emphasis: {
     focus: "fullPath",
     }
  }]
});
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Jul 31, 2022
ElayGelbart added a commit to ElayGelbart/echarts that referenced this issue Aug 1, 2022
@plainheart plainheart added topic: sankey and removed pending We are not sure about whether this is a bug/new feature. labels Aug 1, 2022
@plainheart plainheart linked a pull request Aug 1, 2022 that will close this issue
8 tasks
@MJsuriya
Copy link

When this will be available to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature topic: sankey
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants