Skip to content

Add bounds checks for label positioning in Sankey diagram#2830

Open
amedeorizzo wants to merge 2 commits intoplouc:masterfrom
amedeorizzo:master
Open

Add bounds checks for label positioning in Sankey diagram#2830
amedeorizzo wants to merge 2 commits intoplouc:masterfrom
amedeorizzo:master

Conversation

@amedeorizzo
Copy link
Copy Markdown

Reopened from closed stale PR #2786

Implement bounds checks to prevent extreme x values when positioning labels in the Sankey diagram.

The extreme x values happened on certain width values of the chart rect (890, 899, 908, 922 and other width values): the right labels of the sankey got an x translate value of over 8k. Resizing the chart by only one pixel fixed the x translate value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant