Skip to content

[Bug] 在使用pie南丁格尔玫瑰图的时候动态隐藏labelLine,线的颜色一直是黑色的,无法使用label颜色 #18680

@zmz-design

Description

@zmz-design

Version

5.4.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=pie-roseType&version=5.0.0

Steps to Reproduce

1.demo
官网文档5:https://echarts.apache.org/examples/zh/editor.html?c=pie-roseType&version=5.4.2
官网文档4:https://echarts.apache.org/v4/examples/zh/editor.html?c=pie-roseType
2.描述
在使用pie南丁格尔玫瑰图, 通过emphasis设置饼图label的显示隐藏,线的颜色一直是黑色,在5.x版本黑色显示,在4.x版本是label颜色,
3.我发现通过热更新环境下,我改变的了label隐藏,那么线的颜色会跟随label颜色,但是刷新还是会变成黑色

Current Behavior

我在实现一个动态显示label,引导线(指示线labelLine)没有跟随color颜色,无法设置labelLine颜色

Expected Behavior

我期望labelLine颜色跟随color,

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    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