apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.75k stars 19.62k forks source link

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

Open 73-de-LZ opened 2 months ago

73-de-LZ commented 2 months ago

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

- OS: Win7
- Browser: Chrome
- Framework:

Any additional comments?

No response

helgasoft commented 2 months ago

API says axisLine.lineStyle.color is defined as an array, not a single value - Demo. 📌 please close issue if problem solved.