UNPKG

@antv/g2plot

Version:

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

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