Skip to content

SVG: Label also changed to gradient color when bar is set gradient color.  #11036

@ChuChencheng

Description

@ChuChencheng

Version

4.2.1

Reproduction link

https://jsfiddle.net/7k0z9hu2/

Steps to reproduce

  1. 定义 option.series[0].label.color 为普通颜色
  2. 定义 option.series[0].itemStyle.color 为渐变色
  3. 初始化柱图并执行 setOption

What is expected?

SVG 下表现与 Canvas 一致

What is actually happening?

SVG 下标签变成了渐变色

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions