UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

36 lines (19 loc) 1.49 kB
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 { registerCanvasTooltipHandler, registerDomTooltipHandler } from "./plugin/components/tooltip-handler"; import { registerAnimate, registerHtmlAttributePlugin, registerReactAttributePlugin } from "./plugin/other"; export * from "./core"; VChart.useRegisters([ registerLineChart, registerAreaChart, registerBarChart, registerPieChart, registerCommonChart, registerCartesianLinearAxis, registerCartesianBandAxis, registerDiscreteLegend, registerTooltip, registerCartesianCrossHair, registerLabel, registerDomTooltipHandler, registerCanvasTooltipHandler, registerAnimate, registerReactAttributePlugin, registerHtmlAttributePlugin ]); export { VChart }; export default VChart; //# sourceMappingURL=vchart-simple.js.map