diff --git a/src/components/GoVChart/register.ts b/src/components/GoVChart/register.ts index cc7ba196..62dc86da 100644 --- a/src/components/GoVChart/register.ts +++ b/src/components/GoVChart/register.ts @@ -2,6 +2,7 @@ import { VChart } from '@visactor/vchart/esm/core'; import { registerBarChart, registerAreaChart, registerLineChart, registerPieChart, registerFunnelChart, registerWordCloudChart, registerScatterChart } from '@visactor/vchart/esm/chart'; import { registerTooltip, registerCartesianCrossHair, registerDiscreteLegend, registerLabel } from '@visactor/vchart/esm/component'; import { registerDomTooltipHandler } from '@visactor/vchart/esm/plugin/components'; +import { registerAnimate } from '@visactor/vchart'; export const registerChartsAndComponents = () => { VChart.useRegisters([ @@ -19,7 +20,10 @@ export const registerChartsAndComponents = () => { registerDomTooltipHandler, registerCartesianCrossHair, registerDiscreteLegend, - registerLabel + registerLabel, + + // 动画 + registerAnimate ]); }