suoqiu-f2
Version:
Charts for mobile visualization.
65 lines (52 loc) • 1.22 kB
JavaScript
/**
* 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';
const 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
};