Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gauge Chart: Labels Not Working with Color Regions in Gauge Chart #20591

Closed
ARULSARAVANAN1 opened this issue Dec 14, 2024 · 1 comment
Closed
Labels
en This issue is in English support topic: gauge

Comments

@ARULSARAVANAN1
Copy link

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=gauge-grade&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWxgCeIWxA5AOYCGAri1kwDRUUMYNjjABBaCwA2jWAEYAHAAZ-1dFmgATCdNkqB6AMYawuYiSYBWJQFI-sJgHZLdgLqq1ONpogciDgE5bPgNYAFsIaGJ9NXC2AA9iABYYtQwQKQgwADkOMIAjM1gFD2oEiAwAGUjZVFj0TOgsAGU6GWI6-vQAdwhNMAALYmtS-sNgKWAcc1DYkiUAOgAmS14HAGIlRyS2byZ3WbV5hec1pk3LBSXFfdGukjkz9c18pQClhX3D9FdDgF9Qn87rAQMBIqZppQuhBxlEHCA2INCAB6ZEAWTkSwWJUWjikmN4KQWcgAErjKpjsbxcQAvEJdGSSJEOOQANjswJ6fWZS1SsWAADMBdgwABhExFeZnAC0rOCB2hpjCrVo7ShXVg40mkKYnDAwCY_0BwPKGAAKjCANYdQ6MljMkq2moqtWdLpaqbMPUGzkUXr9IbyI2xIGhdKZMDVJo2hkae2Bx0M51tWrfTUTT0Ob30jX-5lyYNqUOxU2VNiFKQx-oYAbAbrEMA4DhYX0enXrJKszudnOxAUwMDNCA02RyJK-nxCNjQYzEaUAZlWhxwwGEpmYwkkJggbCkvbU_ZwYUREOIAo4M8gMFgAAoAG675sASnV0IFt4fUmbsAAPIg5EoL5uhqOBYGAHA4HATCigA8jBlRMAA3GmfywFgUjYLAEDvvej5YLAAB88hKOgABkpGwJ-35_rA86Aa-IFgRBUGwWiABiMEAEpmkhKFoRh-HYR-eGEYgdGwORlEiTRKRAWm6CgeBkEOCSACiYg8chGqwAC2mKcxUlflgWn1LpRbApAYCuocgrCmB4rQKepAqA48q-v2jlDiOxBssaoSaGBbAQJWDHUB5g7DrI85LL6tkig5TlSg40pyC4tyHFRWASBAx5XnCjbNu5Uy5U556XlAcC4UZcl6UxylooiAwLCuF6aFVz6wAA1A4AANoq8V0xZjBmOqRAMuBZIaIbApoiJsDMXTAbEmXEEsMVptAbBhLI0EQaBjmwGaWBhAwXhKTwhbUL81Bmb8fyIUAA

Steps to Reproduce

I have created a Gauge chart and added a custom label using the axisLabel and formatter options. However, the labels are only working based on the split numbers, not the color regions. I would like to know if there's a way to set labels according to the color regions instead of relying on split numbers.

Output:
image

Expected:
image

Current Behavior

The labels are only working based on the split numbers, resulting in the same labels appearing multiple times. Changing the split number to set the labels also affects the tick values.

Expected Behavior

The labels should be associated with specific color regions in the gauge chart, not based on the split numbers. The labels should be displayed once for each color section, regardless of the split number.

Environment

- OS: windows
- Browser: Chrome
- Framework: Angular

Any additional comments?

No response

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Dec 14, 2024
@helgasoft
Copy link

Easy
image

📌 please close issue if problem solved.

@Ovilia Ovilia added support topic: gauge and removed bug pending We are not sure about whether this is a bug/new feature. labels Dec 26, 2024
@Ovilia Ovilia closed this as completed Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English support topic: gauge
Projects
None yet
Development

No branches or pull requests

3 participants