Skip to content

Sunburst: Improve label positioning #19416

@Aleksashka11

Description

@Aleksashka11

What problem does this feature solve?

Hi!
Dealing with a typical issue in the sunburst chart—too many categories causing text overflow. I've come up with a workaround by placing all labels on the right, but it's not very intuitive. I'd like to keep the same functionality but have labels positioned close to each category for better clarity. Below are the pictures of what I have and what I want to have (you've already have a great label positioning for other charts).
pie_chart
sunburst_1

What does the proposed API look like?

label: {
"position": "outside"
}
If you do have something similar, I would appreciate your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions