mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
refactor: antv玫瑰图支持联动高亮
This commit is contained in:
@@ -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'] }],
|
||||
|
||||
Reference in New Issue
Block a user