echarts [Bug] line.select.lineStyle 不起作用

izkcnapc  于 4个月前  发布在  Echarts
关注(0)|答案(2)|浏览(42)

Version

5.4.3

https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRARAMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxEkDknipGqhWKNRSWCEwEX8ADgAmAAYeWABOAGZIuPjogEZUxIAWOPTItLzExNjYdOTo60dSCmo6ABsIaGVq9C96qnowN35SRuaTCg6eoKChPG0AeQAzaa9u2Eil1tH6YHrOOg5WACNGAAp0zLKANhO4yOzcsoBKXl6ggHcIATBtImLilaDQRnoIChEaIAOni8W-pAmjAEwEeAGF1ptZNs9vslsdIsk4uE8ncIW1tNDYTM5lQwAANIjLB6Qwkwx4k-YATQ-Xxp6AAtgDvAAZCBchZLFLs2BQ-kAIXqCg4VJiNI8o1gjA4VEYg3Iw2IivQaw2MuRuwOMVKkQxx3Sd3lEO5HPVmsC2t1SNoKIO6QArBdIp7Fj6LbR5b0FaRlaq7TQtatEfqXYbDvFzrBsikkyn_UGVu1OiwBFIBBHaF4fHh7kEqByQIS8K5I0F-lRwyNHdGtnH0onIgB2C5XXEBxV2IP2Wx2IA&_source=echarts-doc-preview

Steps to Reproduce

  1. 选中标记, 折线图已经给选中了, 但是配置当中的, 线的颜色并不会变化, 还有areaStyle的颜色也不生效

Current Behavior

line.select lineStyle和 areaStyle不起作用

Expected Behavior

希望选中标记的时候, 能改变选中的折线图颜色和大小, 以及areaStyle的颜色

Environment

- OS:
- Browser:116.0.5845.188
- Framework:

Any additional comments?

No response

fdbelqdn

fdbelqdn1#

@zmcode It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED

TITLE

[Bug] line.select.lineStyle does not work

BODY

Version

5.4.3

https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRARAMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnx EkDknipGqhWKNRSWCEwEX8ADgAmAAYeWABOAGZIuPjogEZUxIAWOPTItLzExNjYdOTo60dSCmo6ABsIaGVq9C96qnowN35SRuaTCg6eoKChPG0AeQAzaa9u2Eil1tH6YHrOOg5WACNGAAp0zLKANhO4yOzcsoBKXl6gg HcIATBtImLilaDQRnoIChEaIAOni8W-pAmjAEwEeAGF1ptZNs9vslsdIsk4uE8ncIW1tNDYTM5lQwAANIjLB6Qwkwx4k-YATQ-Xxp6AAtgDvAAZCBchZLFLs2BQ-kAIXqCg4VJiNI8o1gjA4VEYg3Iw2I ivQaw2MuRuwOMVKkQxx3Sd3lEO5HPVmsC2t1SNoKIO6QArBdIp7Fj6LbR5b0FaRlaq7TQtatEfqXYbDvFzrBsikkyn_UGVu1OiwBFIBBHaF4fHh7kEqByQIS8K5I0F-lRwyNHdGtnH0onIgB2C5XXEB xV2IP2Wx2IA&_source=echarts-doc-preview

Steps to Reproduce

  1. With the check mark, the line chart has been selected, but in the configuration, the color of the line will not change, and the color of the areaStyle will not take effect.

Current Behavior

line.select lineStyle and areaStyle not working

Expected Behavior

I hope that when the mark is selected, the color and size of the selected line chart can be changed, as well as the color of areaStyle

Environment

- OS:
- Browser:116.0.5845.188
- Framework:

Any additional comments?

No response

falq053o

falq053o2#

yes, serious bug confirmed for series-line.select - only itemStyle works, lineStyle and areaStyle do not.
Duplicate of #16545 , see also #18358 .
workaround with event selectchanged - Demo Code

相关问题