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

Sunburst Label Orientation #195

Open
FeBe95 opened this issue Jun 30, 2022 · 0 comments
Open

Sunburst Label Orientation #195

FeBe95 opened this issue Jun 30, 2022 · 0 comments
Assignees

Comments

@FeBe95
Copy link

FeBe95 commented Jun 30, 2022

Feature Request

It would be nice to be able to "flip" individual labels upside-down within a sunburst chart. In some cases the auto orientation of the labels feels off. In the example below Type 1 -> Subtype 2 is facing to the left (turn your head to the left). Having it facing to the right could look better and would have a greater consistency with Type 1 and Type 1 -> Subtype 1, as you need to turn your head to the right here. I understand, that this is a 50:50 decision for the algorithm, whether to let the text face left or right here because the label is orientated exactly vertically. Therefore something like flip: true or orientation: "upside-down" would be a nice addition for these labels/texts.

Example

https://codepen.io/febe95/pen/jOzEpew (see JS Code, in Line 12)

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

No branches or pull requests

2 participants