You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by 王凯月 <wk...@163.com> on 2023/03/24 08:41:45 UTC
求教问题:echarts focusNodeAdjacency=true,鼠标hover高亮以后背景能否设置透明度
您好,有个问题想请假一下。
问题背景:
focusNodeAdjacency属性设置为true,鼠标hover到元素上,会高亮元素,同时出现遮罩。
问题:
这个遮罩能够修改透明度?
效果链接:
https://echarts.apache.org/examples/zh/editor.html?c=graph
Re: 求教问题:echarts focusNodeAdjacency=true,鼠标hover高亮以后背景能否设置透明度
Posted by Zhongxiang Wang <wa...@apache.org>.
Hi,
It's possible to change the default opacity of the blurred items when
focusing by setting the `*blur*` state option.
Here are some links for your reference:
[1]
https://echarts.apache.org/option.html#series-graph.blur.itemStyle.opacity
[2]
https://echarts.apache.org/option.html#series-graph.blur.lineStyle.opacity
Regards.