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

Label rotation #36

Open
wwood opened this issue Feb 1, 2022 · 0 comments
Open

Label rotation #36

wwood opened this issue Feb 1, 2022 · 0 comments

Comments

@wwood
Copy link

wwood commented Feb 1, 2022

Hi,

Thanks for writing this very useful library.

I've noticed that in the plots I generate that the labels are often so long that they overlap each other on consecutive levels e.g.
image

I couldn't find it in the API, is there a way to rotate the labels 90 degrees? For instance, like in this krona diagram
image

If this is not part of the API, and you don't have time to implement that, I'm curious what strategy you would take to modify the code to enable that functionality? Specifically, is there a function that could be exposed?

Also how can we zoom out once a segment has been clicked? I couldn't work out how to do this on the example page.

And one small fix - I think the <sunburst :data="data"> in the Usage section should be <sunburst :data="tree">.

Thanks in advance, ben

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

No branches or pull requests

1 participant