@visactor/vchart
Version:
charts lib based @visactor/VGrammar
43 lines (23 loc) • 1.63 kB
JavaScript
import { VChart } from "./core";
import { registerLineChart } from "./chart/line/line";
import { registerBarChart } from "./chart/bar/bar";
import { registerAreaChart } from "./chart/area/area";
import { registerPieChart } from "./chart/pie/pie";
import { registerCommonChart } from "./chart/common/common";
import { registerLabel } from "./component/label/label";
import { registerCartesianCrossHair } from "./component/crosshair/cartesian";
import { registerTooltip } from "./component/tooltip/tooltip";
import { registerDiscreteLegend } from "./component/legend/discrete/legend";
import { registerCartesianBandAxis } from "./component/axis/cartesian/band-axis";
import { registerCartesianLinearAxis } from "./component/axis/cartesian/linear-axis";
import { registerWXEnv } from "./env";
import { registerCanvasTooltipHandler } from "./plugin/components/tooltip-handler";
import { registerFormatPlugin } from "./plugin/chart/formatter";
import { registerElementHighlight } from "./interaction/triggers/element-highlight";
import { registerElementSelect } from "./interaction/triggers/element-select";
export * from "./core";
VChart.useRegisters([ registerLineChart, registerAreaChart, registerBarChart, registerPieChart, registerCommonChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerDiscreteLegend, registerTooltip, registerCartesianCrossHair, registerLabel, registerCanvasTooltipHandler, registerFormatPlugin, registerElementHighlight, registerElementSelect ]),
VChart.useRegisters([ registerWXEnv ]);
export { VChart };
export default VChart;
//# sourceMappingURL=index-wx-simple.js.map