@visactor/vchart
Version:
charts lib based @visactor/VGrammar
32 lines (21 loc) • 781 B
JavaScript
import { Factory } from "../../../core/factory";
import { sunburstEnter } from "./enter";
import { sunburstExit } from "./exit";
import { sunburstPresetAnimation } from "./preset";
import { DEFAULT_ANIMATION_CONFIG } from "../../../animation/config";
export * from "./preset";
export * from "./enter";
export * from "./exit";
export * from "./preset";
export * from "./interface";
export const registerSunburstAnimation = () => {
Factory.registerAnimation("sunburst", ((params, preset) => ({
appear: sunburstPresetAnimation(params, preset),
enter: sunburstEnter(params),
exit: sunburstExit(params),
disappear: {
duration: DEFAULT_ANIMATION_CONFIG.disappear.duration
}
})));
};
//# sourceMappingURL=index.js.map