| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /**
- * Default, without interactins
- */
- import { Global, Chart, Shape, G, Util, Helper, track } from './core';
- import './geom/';
- import './geom/adjust/';
- import './coord/polar'; // polar coordinate
- import './component/axis/circle'; // the axis for polar coordinate
- import './component/guide/arc';
- import './component/guide/html';
- import './component/guide/line';
- import './component/guide/rect';
- import './component/guide/text';
- import './component/guide/tag';
- import './component/guide/point';
- import TooltipComponent from './component/tooltip';
- import * as Tooltip from './plugin/tooltip';
- import * as Guide from './plugin/guide';
- import * as Legend from './plugin/legend';
- import * as Animation from './animation/detail';
- import Animate from './animation/animate';
- var Component = {
- // 为了兼容之前版本
- Marker: G.Shape.Marker,
- Tooltip: TooltipComponent
- }; // register plugins
- Chart.plugins.register([Tooltip, Legend, Guide, Animation]); // 默认添加交互
- import './interaction/new/index';
- export { Component, Global, Chart, Shape, G, Util, Helper, track, Animate };
- export default {
- Component,
- Global,
- Chart,
- Shape,
- G,
- Util,
- Helper,
- track,
- Animate
- };
|