echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] visualMap overwrites series itemStyle and lineStyle

Open Nurech opened this issue 3 years ago • 1 comments

Version

5.3.0

Link to Minimal Reproduction

https://jsfiddle.net/Lfrcbe9p/

Steps to Reproduce

Not working (series lineStyle is overwriting visualMap changes) https://jsfiddle.net/mapodbj3/ Working (lineStyle and itemStyle removed from serie) https://jsfiddle.net/98x1dgyz/

How to keep custom styling but be able to apply changes from visualMap and only apply changed properties?

Current Behavior

lineStyle settings won't let visualMap changes to be applied.

Expected Behavior

Expecing visualMap to overwrite series lineStyle settings.

Environment

No response

Any additional comments?

As a possible solution, series.lineStyle color can be removed and color can then be controled with visualMap.inRange and visualMap.outOfRange but then itemStyle.borderColor can not be changed like that... In short, if visualMap.inRange could support itemStyle that would be great.

Nurech avatar Feb 15 '22 04:02 Nurech

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Feb 15 '24 21:02 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Feb 22 '24 21:02 github-actions[bot]