Skip to content

[Bug] 5.3.3部分配置项默认值同文档不一致 #17542

@mousne

Description

@mousne

Version

5.3.3

Link to Minimal Reproduction

No response

Steps to Reproduce

  1. npm
  2. echarts.init(dom, "macarons")

Current Behavior

  1. 4.9.0升级至5.3.3
  2. 引入macarons主题
  3. 通过getOption对比4.9.0和5.3.3的tooltip配置参数
  4. 未手动配置的参数项 4.9.0中最终配置同文档相同,5.3.3同文档不同
    例如option.tooltip.borderWidth
    在4.9.0中最终为0,5.3.3中最终为1
  5. macarons主题在4.9.0和5.3.3中tooltip的样式表现不一致

Expected Behavior

option.tooltip选项默认值同文档一致
需要确认下升级V5的时候是否有调整过默认值
目前发现的不一致主要同样式相关
所以是否有和其他主题样式有进行merge
如果确认是默认值更改的话
想提个PR更改下macarons主题的option.tooltip.bordrWidth和option.tooltip.textStyle.color
保持和4.9.0展示一致

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions