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

Sankey graph not centered when zooming in. Present in Chrome and Edge not in IE #299

Open
lukarolak opened this issue Nov 22, 2022 · 1 comment
Labels
need investigation Need investigation about this issue

Comments

@lukarolak
Copy link

Hi,
I generated a masive sankey graph + 50 nodes wide

Sankey nodes try to spread themselves as best as possible on the canvas available.
Side note: it would be amazing if I could specify in code, what size I want sankey graph to be

To fit all my nodes on screen I zoom out as far as possible and refresh the page. This spreads sankey nodes.
Then to see the nodes I zoom in to a comfortable level.

Problem in Chrome and Edge is that when I zoom in, the center of the page is no longer the middle point between the start and end of my sankey graph. This means that when I zoom in it's impossible to scroll to the very beginning of the graph.

This problem is not present in IE.

Could you try to reproduce and if possible fix it?

Thank you

@Koooooo-7 Koooooo-7 transferred this issue from go-echarts/go-echarts-assets Sep 4, 2023
@Koooooo-7
Copy link
Member

Hi @lukarolak could you provide the codebase and the generated echarts options (carefully trim the sensitive datasets).
I suppose it seems the echarts styling issue.

@Koooooo-7 Koooooo-7 added the need investigation Need investigation about this issue label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need investigation Need investigation about this issue
Projects
None yet
Development

No branches or pull requests

2 participants