apache / apache/echarts

[Bug] axisLine.lineStyle.color making progressbar at 0 when color: '#000', color: >'#999' hide the progress bar

Open
#20,341 2 comments 0 reactions 0 assignees View on GitHub
bug en pending stale
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?code=MYewdgzgLgBA5gQwK5wKYBEFQTAvDAbQCgYYBvE0mANwQBslUAuGAJgAYAaS0sBAW2YwA5AAVUAJwBmqYFGHcqMKAEsodIRSWkQUqRFRQAwqjBRJLAsPYBSBSIC0AZlvCAujxgBfRVQAmhggqdCxa2rQMqACCYCr8WCrgLFASjL5KuvqGJmYWhNZ2nI4cdh5KXpQ-lGGkEYwsACxcnnyCLMIA4iAgfgqequqanjp6Bsam5hKWBfYzZVRVSgHYwaHDNPSMMXEJScqpqOlUmWM5k9OuRcIAjK7zpBUPvjUbkSwAbM1KrULCRiD8fjgOgATz6SgGGjW2hgJ2yEzyVkuIhcpU8i38gVW5HWdWisXiqj2KTS6zh41yU3yyOETTR5UqRDcAG4iCAAA5EsB4HGkAwSFSoCCWTwvUhQEHs36IFCocHaaAICRQGJwKEwACcX20pj8qvVDlYAHZtUp2SAVJToTCYBAABYgADuLCk9AM6wxZokIDgEiFwt5NvtTuSByOGWokjoCHZLrdh3WpG9SDAfiMMdDpJtMGAdBUsZgrroBnDVDUqH4AGUJeqxdoAEYgCQBCQAdRUfigdpY11LSkbzck_zoTfaAGIGu9J5PhInvB7SwgAB4qCAAGUtQ2zebAqGrINrc9Ijo7XcapptoBHVOEY70Uln2ce2k9VAg7LzUA3u-tMODzsLeM-xgPxV2wMBgCEC8lA0MA4DPGBbgXdZl1XAAVFRgAAa1_BUHQAot3RhV9SFQ9cEHrVAQkDP98LjYsE2zUDFQgoQAFZ2GQmE_CwBAWBlNBMGwUtIS3G0pHAKBKxUAAvIRrgaLjtGWIJqLrY9T27GAOOAu1UBUOA7SgHsGmAiSzGkuSTOAq9RxES09IFeRgIHFthzs4QHMkNR5RhVzJAAJQQUCkADDgXKbFt207LTeznCSJEJc4RDIPEvDsD10UoDwvFZMYAElKQiAAKKQUzkRJuWKgBKQMBIwXiCHYNwADo8R5ABqYqAFksDtFqJAQVMARqmAACpEPYdhqpaqAQAAMRUJdUD8YrWGq1lSHqoSEAIa5Wva_Aut6rsBqGvwRtqibbmm2aFqWla1o2yhtsa1gDs2VBOp6vqzuG_hRuuqaZrmxbltW9bNpgfgQSMO0lSgFqxgAeU5SripeflBQDYgYXUkDeP45BBN44DzUtZL8b5OjAIYudnwZJR5i8Z6fDYKbpuZIA

### Steps to Reproduce

Just using official example for Ring Gauge and try to change the color of axisLine

### Current Behavior

When the color of axisLine.lineStyle set to #000 all progress bars goes to 0, even if there is set axisLabel all values are printed at zero position one upon another.
If the color of axisLine.lineStyle set to anything bigger than #999, like #aaa, all progress bars are hidden, no mater if dark theme used or not.

### Expected Behavior

When the color is set graphics to be rendered as expected, e.g. the color of the axisLine to be as choosen one.

### Environment

```markdown
- OS: Win7
- Browser: Chrome
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked minimal reproduction and the official Ring Gauge example, then trace how axisLine.lineStyle.color is processed for #000, #999, and #aaa. Confirm the progress bars and axis labels render at their expected positions after changing the color, and add or update coverage for these color values if the relevant test entry point is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.