Skip to content

How can I display curved labels in a pie/doughnut chart? #13616

@zhpeh

Description

@zhpeh

What problem does this feature solve?

Hi,

I have a nested pie chart with long label names. I prefer to display the labels 'inside' instead of 'outside', but the text is extending outside the pie area. I understand that I can use formatter to add line breaks, or rotate the text. However, I would prefer to display the labels as curved labels, depending on the shape of the pie chart.

How can I achieve this?

Appreciate your help! Thank you!

What does the proposed API look like?

Perhaps something like this?

label: {
position: 'inner',
rotate: 'auto'
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurestaleInactive for a long time. Will be closed in 7 days.

    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