bytev-charts
Version:
基于echarts和JavaScript及ES6封装的一个可以直接调用的图表组件库,内置主题设计,简单快捷,且支持用户自定义配置; npm 安装方式: npm install bytev-charts 若启动提示还需额外install插件,则运行 npm install @babel/runtime-corejs2 即可;
14 lines (10 loc) • 454 B
JavaScript
import _classCallCheck from "@babel/runtime-corejs2/helpers/classCallCheck";
import _defineProperty from "@babel/runtime-corejs2/helpers/defineProperty";
import * as echarts from 'echarts';
import * as d3 from 'd3-geo';
var componentPlugin = function componentPlugin() {
_classCallCheck(this, componentPlugin);
_defineProperty(this, "echarts", echarts || null);
_defineProperty(this, "d3", d3 || null);
};
export { componentPlugin as default };