Skip to content

[Feature] 图例支持文字后增加数值 #21286

Open

Description

@GWJ-git

What problem does this feature solve?

该需求较常见,特别是饼图无法直观查看数据,需要hover

What does the proposed API look like?

希望可以在格式化中配置

Activity

  1. added
    pending
    on Sep 23, 2025
  2. echarts-bot commented on Sep 23, 2025

    @echarts-bot

    @GWJ-git 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

    [Feature] The legend supports adding values after text

    BODY

    What problem does this feature solve?This requirement is quite common, especially since pie charts do not allow for intuitive data viewing and require hovering.### What does the proposed API look like?I hope to be able to configure it in the formatting.

  3. plainheart commented on Sep 26, 2025

    @plainheart
    Member

    你的意思是希望 legend 可以获取到系列数据的一些信息,比如饼图可以获取到每个扇区的百分比,是吗?

  4. GWJ-git commented on Sep 26, 2025

    @GWJ-git
    Author

    你的意思是希望 legend 可以获取到系列数据的一些信息,比如饼图可以获取到每个扇区的百分比,是吗?

    你好,是图例可以获取到具体数值,因为百分比是可以通过饼图大概看出来的,当然,如果都可以获取到就更好了

  5. self-assigned this
    on Oct 7, 2025
  6. added this to the 6.0.1 milestone on Oct 7, 2025
  7. added and removed
    pending
    on Oct 7, 2025
  8. modified the milestones: 6.0.1, 6.x on Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions