UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

28 lines (21 loc) 777 B
import { Factory } from "./../core/factory"; import { BaseMark } from "./base/base-mark"; import { registerRect3dGraphic } from "@visactor/vgrammar-core"; import { registerVGrammarRectAnimation } from "../animation/config"; export class Rect3dMark extends BaseMark { constructor() { super(...arguments), this.type = Rect3dMark.type; } _getDefaultStyle() { return Object.assign(Object.assign({}, super._getDefaultStyle()), { width: void 0, height: void 0, length: 3 }); } } Rect3dMark.type = "rect3d"; export const registerRect3dMark = () => { Factory.registerMark(Rect3dMark.type, Rect3dMark), registerRect3dGraphic(), registerVGrammarRectAnimation(); }; //# sourceMappingURL=rect-3d.js.map