UNPKG

@antv/g2plot

Version:

An interactive and responsive charting library

19 lines (17 loc) 408 B
import { registerAction, registerInteraction } from '@antv/g2'; import { MarkerActiveAction } from './marker-active'; registerAction('marker-active', MarkerActiveAction); registerInteraction('marker-active', { start: [ { trigger: 'tooltip:show', action: 'marker-active:active', }, ], end: [ { trigger: 'tooltip:hide', action: 'marker-active:reset', }, ], });