Skip to content

Speed Gauge text overlapping issue #135

@Manahil-Afzal

Description

@Manahil-Afzal

In the Speed Gauge example on the official ECharts editor, the detail text (value and unit) sometimes overlaps with the pointer or gauge frame, especially for larger values. This reduces readability and affects the visual presentation of the gauge.

Expected Behavior:
. The value and unit text should be properly centered and clearly separated from the pointer.
. Text alignment should remain correct for all values within the gauge range.

Steps to Reproduce:

. Open the official editor: https://echarts.apache.org/examples/en/editor.html?c=gauge-speed
. Observe the value displayed in the center of the gauge.
. Notice that the detail text overlaps or is positioned too close to the pointer.

Suggested Improvement:

Adjust the offsetCenter or implement dynamic positioning in the detail property of the gauge.
Ensure text does not overlap with the pointer for any value within the range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions