I'm creating a chart using echart graph and i found that i can't disable the emphasis trigered by legend hovering, resulting in some unpleasent results.
legend: [
{
data: graph.categories.map(function (a) {
return a.name;
})
}
],
series: [
{
name: 'Les Miserables',
type: 'graph',
layout: 'none',
data: graph.nodes,
links: graph.links,
categories: graph.categories,
roam: true,
label: {
position: 'right',
formatter: '{b}'
},
lineStyle: {
color: 'source',
curveness: 0.3
},
emphasis: {
focus: 'adjacency',
lineStyle: {
width: 10
}
}
}
]
legend.triggerEmphasis = false (default true)
What problem does this feature solve?
I'm creating a chart using echart graph and i found that i can't disable the emphasis trigered by legend hovering, resulting in some unpleasent results.
this issue can be seem in your own example: https://echarts.apache.org/examples/en/editor.html?c=graph
where hovering the legend show only some conexions when the series.emphasis.focus = 'adjacency'
What does the proposed API look like?