forked from github/dataease
refactor: antv玫瑰图支持联动高亮
This commit is contained in:
parent
c9d1434a7c
commit
2af5895a31
@ -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'] }],
|
||||
|
Loading…
Reference in New Issue
Block a user