UNPKG

zz-chart

Version:

Alauda Chart components by Alauda Frontend Team

27 lines (26 loc) 1.05 kB
import Area from './components/shape/area.js'; import Bar from './components/shape/bar.js'; import Line from './components/shape/line.js'; import Pie from './components/shape/pie.js'; import Point from './components/shape/point.js'; import { AreaShapeOption, BarShapeOption, GaugeShapeOption, LineShapeOption, PieShapeOption, PointShapeOption } from './types/options.js'; export * from './chart/index.js'; export * from './types/index.js'; export * from './utils/index.js'; /** * 往 View 原型上添加的创建 shape 的方法 * * Tips: * view module augmentation, detail: http://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation */ declare module './chart/view.js' { interface View { line(option?: LineShapeOption): Line; area(option?: AreaShapeOption): Area; bar(option?: BarShapeOption): Bar; point(option?: PointShapeOption): Point; pie(option?: PieShapeOption): Pie; gauge(option?: GaugeShapeOption): Pie; } } export * from './components/index.js';