Skip to content

[Bug] [Sunburst] Uses of startAngle provoke labels display bug #18023

@JREGN

Description

@JREGN

Version

5.4.0

Link to Minimal Reproduction

https://codesandbox.io/s/882hov

Steps to Reproduce

  1. Take the sunburst example : https://echarts.apache.org/examples/en/editor.html?c=sunburst-simple
  2. Define a startAngle property like this :

option = {
    series: {
        type: 'sunburst',
        startAngle: 180, // <--------------------------
        data: data,
        radius: [0, '90%'],
        label: {
            rotate: 'radial'
        }
    }
};

Current Behavior

Label with rotate value to 'radial' are upside down
image

Expected Behavior

Label in a good position

Environment

- OS: Windows 10
- Browser: Brave Version 1.46.133 Chromium: 108.0.5359.71
- Framework: Angular 14.2.2

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions