Skip to content

圆环name和指示线重叠,如下图 #21030

Open
@nicky132

Description

@nicky132

Version

5.3.3

Link to Minimal Reproduction

https://codesandbox.io/p/devbox/dlg4d3?file=%2Fsrc%2FApp.vue%3A10%2C11

Steps to Reproduce

Image 可以看到,指示线和指示线上的名字以及按照ui要求换行处理的占比,都叠加在了圆环图表上,ui觉得很难看,希望有解决方案

Image
看着antv的实现貌似会好一点

希望echarts官方最好能有解决方案吧

Current Behavior

可以看到,指示线和指示线上的名字以及按照ui要求换行处理的占比,都叠加在了圆环图表上,ui觉得很难看,希望有解决方案

Expected Behavior

希望有解决方案

Environment

- OS: windows11
- Browser: 谷歌浏览器
- Framework: vue3

Any additional comments?

我看到之前https://github.com/apache/echarts/issues/4474,这人也遇到这种情况,应该也不是一例两例的事情,希望能最快答复

Activity

added
pendingWe are not sure about whether this is a bug/new feature.
on Jun 12, 2025
echarts-bot

echarts-bot commented on Jun 12, 2025

@echarts-bot

@nicky132 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

The circular name overlaps with the indicator line, as shown in the picture below.

BODY

Version

5.3.3

Link to Minimal Reproduction

https://codesandbox.io/p/devbox/dlg4d3?file=%2Fsrc%2FApp.vue%3A10%2C11

Steps to Reproduce

Image As you can see, the names of the indicator lines and the percentage of line wrapping according to the UI requirements are superimposed on the donut chart, and the UI finds it ugly and hopes that there will be a solution

Image
Looking at the implementation of ANTV, it seems that it will be a little better

I hope that the official ECHARTS will have a solution

Current Behavior

As you can see, the names of the indicator lines and the percentage of line wrapping according to the UI requirements are superimposed on the donut chart, and the UI finds it ugly and hopes that there will be a solution

Expected Behavior

Hopefully there will be a solution

Environment

- OS: windows11
- Browser: Google Chrome
- Framework: vue3

Any additional comments?

I saw that this person also encountered this situation #4474 before, and it should not be a case or two, and I hope to reply as soon as possible

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe 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

        Participants

        @nicky132

        Issue actions

          圆环name和指示线重叠,如下图 · Issue #21030 · apache/echarts