echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] emphasis.label and emphasis.labelLine overrule labelLine label.label show property

Open MeMeMax opened this issue 3 years ago • 0 comments

Version

5.3.3

Link to Minimal Reproduction

https://jsfiddle.net/khvputjb/

Steps to Reproduce

If you have set labelLine.show and label.show to false in your series, you can currently overrule them by setting emphasis.labelLine.show und emphasis.label.show to true.

Current Behavior

If you have set labelLine.show and label.show to false in your series, you can currently overrule them by setting emphasis.labelLine.show und emphasis.label.show to true.

Expected Behavior

There should be a single source of truth for having labels and labelLines visible. The single source of truth should be series.label and series.labelLine.

Environment

- OS:Windows
- Browser: Chrome@Latest
- Framework: Angular

These infos are not relevant for the bug.

Any additional comments?

No response

MeMeMax avatar Aug 05 '22 13:08 MeMeMax