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

[fix] #12048 - Add selfJoin option for doughnut graphs #12054

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

R2Jeu-prive
Copy link

@R2Jeu-prive R2Jeu-prive commented Apr 2, 2025

Fixes #12048

I have created an option called ArcOptions.selfJoin for doughnut and pie graphs. This option is false as default but when set to true, it will allow datasets that take up 100% of the graph to self join. This effect is only visible when border is activated and removes the separation line between what is effectively the same arc. To achieve this effect I used some cropping similar to how border align inner is implemented.

What it looks like

Tests

I have created 2 new tests for this new feature.

Known limitations

It is not obvious how to smoothly animate this joining when the graph uses border radius, inner border align or border join style miter. Those are not supported.

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.

Pie Chart Separation Line
1 participant