refactor: antv玫瑰图支持联动高亮

This commit is contained in:
wangjiahao 2022-06-27 17:07:40 +08:00
parent c9d1434a7c
commit 2af5895a31

View File

@ -127,12 +127,6 @@ export function basePieRoseOptionAntV(plot, container, chart, action) {
}
},
interactions: [
{
type: 'element-active', cfg: {
start: [{ trigger: 'element:mouseenter', action: ['element-highlight:highlight', 'element-active:reset', 'cursor:pointer'] }],
end: [{ trigger: 'element:mouseleave', action: ['element-highlight:reset', 'element-active:reset', 'cursor:default'] }]
}
},
{
type: 'legend-active', cfg: {
start: [{ trigger: 'legend-item:mouseenter', action: ['element-active:reset'] }],