UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

19 lines 733 B
import { __extends } from "tslib"; import * as _ from '@antv/util'; import BasePlot from '../../base/plot'; import StackColumnLayer from './layer'; var StackColumn = /** @class */ (function (_super) { __extends(StackColumn, _super); function StackColumn() { return _super !== null && _super.apply(this, arguments) || this; } StackColumn.prototype.createLayers = function (props) { var layerProps = _.deepMix({}, props); layerProps.type = 'stackColumn'; _super.prototype.createLayers.call(this, layerProps); }; StackColumn.getDefaultOptions = StackColumnLayer.getDefaultOptions; return StackColumn; }(BasePlot)); export default StackColumn; //# sourceMappingURL=index.js.map