echarts [Bug] visual map category deselection leaves parts visibile from boxplot and scattter series

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

Version

5.5.0

https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeBYAULWATAhmHAzgKZgBcsA2uppqhjZlhALZHQFTvlX0OYDkAQWbAArtDD8ANNT4CAyjmYgANkVgAVAJ4gi02XP4BJdmABOo1hP28-_ADLAA7kTOwnACwgEA1q5tyAgBMAKwApLAAjqI4EhBqAYH8ALJETLGJhgDs4VExcQkytgz8AKogum6e3n5mmXYA-sAARgQAtNBKekVyALo9fARiZgDGRNwGfDyBNPxZAHQhsNAA5vWGisqFk4bMOCNe0N07fCHzAIwAHADMtyHXAGwAnAAMD0Ev108DMw8XWUEnkEHgAWS6XUJZa5BS4_QJ_EEhc4goJgt4vEEPS4hb4nBh_G5fILQwFBVFZMFwuQLS7na7nc4vZFvTFXEFUuwLJarKSwTaqY7FGj9PGUUUCLnLNYckoAYRg5mAKnWdj2BwgRxVDDO5yeIRRwL11xCgJeQRlND-yIedPpxLJlwxsPFsARH2N1xe9ye1xyQSyFswfyy2JyepBWSuT0d50DsAWFNCLyeyJCkbeoTjc0WUt58okZiVWtgIqFmGmM1g_HO3OlLv4_O2ZdmasOgsrsDOQXOxPOkZBLwBMKeuObQYuaZCDyxjKBoOdY9d8xRDxCSL1TweybJDzjwaeka3dORKJeC47CZNmJDZOTGL1ISzNdzfKUAuLpZmFZm1drxYE-aKsqWathq7aVl2DxZFkg7PNGULIqOHZWqCIbvA8nqes85ougiIJgoiIKbrcB4wnu8yOiEjoHtaNxUeelaXl6WQ2tCZ7Jl8T61nmCqFsBoqfnwgmYAAvnCdByEwVgcDABATM2QgiOIkgWg2b5qJoOjgYYJgEOYlhsCpopCCMYwEDJ0DFvwABuOAqKI2mNC07SdKwKrCTQQyiKM4xis235JJKqz_lWjaObs-xtiF_AAIpehhTwhZcy5Qk8-HdlRNprjhi7Ztxr5bOFwoWgF2Q5s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JROE0TcMvDnem6mnGz826pOgO72oOx6ekOkLq6WyFJPHIDCEMW_M2m64G0uky8u1O2GM2DQTrOa3qYiI0fUfxLAz2uO1uoc2AMSWQQSAAD0EFnu8HIAkhoFcl8n4GclcFskgFknqDAC0nIH4BGDwCIBWGADMC0ESGnvoC0AXqXuQEmDXsPpUGABWEZAAAocBmhxBcBoAxgABKK-gYYgMwCAIgOSG-GgFehgfe3QQ-5oYAWe1QYAIyIUCALAeBxB8BtoWILANoaoXwVwAgFUXAfAYgMAEwLAIgWe8gF4DkNgEYYAKh5e0UGhqsJoVoDoLoYsLQeSQWRwFwKoLwQhuoLMUICIaIWISASDFINICADIYaXISRgoAFcoSodwYR2oJg6-hgHRqBk4WB9eggY-sAMAfwDkdBw-sQMAFQMBswYhjkUhwgEgSh6h8gc3TABhph3yaBvgNh_gDhlybhi0XhqsWyeyIqPRhgCAMx5geQfetQZe2ARhl-swQ-gAYhesuEEBrG3mkFgFAH2BidCZeGxV5AQbMCobMHlFSYydlAHBjiZinrhD0cEmsm8BiBUGSBwBABYdsEMcPpADAbGCcG8EcnPrAYkEPo8AmYAC8FQ7I97QBD6wBQB6g1AAAzMgKsMYCQcxyYKSNgCyWhuEEx0-iZ8B7gDa6UQil4L2HfduKsa4YWDyWQa-kSAAbiAA

Steps to Reproduce

In the shared example, click on the legends entries and see what the chart is showing.

Current Behavior

deselecting the first category works as expected, while the third leaves scatter point borders and the hover shadow of the box plot visible.

Expected Behavior

I'd expect, that the deselecting hides all parts of the series.

Environment

- OS: Win 11
- Browser: Chrome
- Framework: Vue3

Any additional comments?

No response

5anewei6

5anewei61#

bug indeed, workaround is to remove borderColor from scatter.itemStyle
Similar, if not duplicate of ecomfe/echarts-gl#491 . Might be related also to #19272 .

xmjla07d

xmjla07d2#

bug indeed, workaround is to remove borderColor from scatter.itemStyle Similar, if not duplicate of ecomfe/echarts-gl#491 . Might be related also to #19272 .

the workaround covers scatter items but the boxes still have a shadow when hovering the legend.

相关问题