Pre Merge pull request !259 from Skie Chen/fix-vchart-build-error

This commit is contained in:
Skie Chen 2025-02-24 07:41:53 +00:00 committed by Gitee
commit 66fff851f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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
]);
}