Skip to content

[Bug] The detail value is below the gauge #19971

@cavanierc

Description

@cavanierc

Version

5.5.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=gauge-temperature

Steps to Reproduce

On echart documentation, on the gauge, if you shrink the browser window enough, the value of the gauge detail falls below the gauge itself.

Current Behavior

Capture d’écran 2024-05-23 à 15 37 36

The value is below the gauge

Expected Behavior

We need to be able to see the value of the gauge above the gauge, so that the value is legible.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

The problem seems to be that the svg components are displayed in the order in which they were created, so the text would have to be generated last for it to be above the gauge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive 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