Skip to content

[Bug] tooltip setting rich and formatter is invalid #21540

@jingxiawl

Description

@jingxiawl

Version

5.3.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=area-basic

Steps to Reproduce

配置项设置 tooltip:{
trigger:"axis",
renderMode: "richText",
rich: {
a:{
color:'#fff'
}
},
formatter:'{a|测试样式}',
},

Current Behavior

Image tooltip样式未修改

Expected Behavior

tooltip样式修改为红色

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

设置tooltip的formatter与rich属性,结果没有生效rich样式。

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