Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] xAxis.axisLabel.color Contrary to expectations #21409

@jack20211101

Description

@jack20211101

Version

6.0.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=bU89D4IwFNz9FS9x6MJA-dJgHFycdMLEgTA00GgT0pJSDI3hv_tawDi43PW9Xu-uqjNCSTjCewMwnkbR5_4IYGzHcyA1M_yhtCWB3zbMsBxKclWSBEBuA3d0542fnoOjsxaOCmY8DZJU82OG9hch0XaOAGhxKoxtf1YAtWqVxuhtQxOWUbJcTJ4nZ-XB_mn7Yi02WhU914KjpPSSNWD5Ak3DAKLYQZQg0H0ANE4Rkh2OWbiU_nq7rnMX16TaTIcP&enc=deflate

Steps to Reproduce

文档中这样描述
xAxis.axisLabel.color 刻度标签文字的颜色,默认取 axisLine.lineStyle.color。

xAxis.axisPointer.label.backgroundColor 文本标签的背景颜色,默认是和 axis.axisLine.lineStyle.color 相同。
但实际并未使用axisLine.lineStyle.color的颜色

Current Behavior

依旧显示默认颜色

Expected Behavior

颜色与axisLine.lineStyle.color统一

Environment

- OS:Windows 11
- Browser: Chroem 142.0.7444.176
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions