/**
 * all
 */
const F2 = require('./core');

require('./geom/');
require('./geom/adjust/');

require('./coord/polar'); // polar coordinate
require('./component/axis/circle'); // the axis for polar coordinate

require('./scale/time-cat'); // timeCat scale

require('./component/guide'); // guide components

const Tooltip = require('./plugin/tooltip');
const Guide = require('./plugin/guide');
const Legend = require('./plugin/legend');
const Animation = require('./animation/detail');
const ScrollBar = require('./plugin/scroll-bar');
const PieLabel = require('./plugin/pie-label');
const intervalLabel = require('./plugin/interval-label');

F2.Animate = require('./animation/animate');
// register plugins
F2.Chart.plugins.register([ Tooltip, Legend, Guide, Animation, ScrollBar, PieLabel, intervalLabel ]);

// add interaction
require('./interaction');
F2.Interaction = require('./interaction/base');

module.exports = F2;
