@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
19 lines • 703 B
JavaScript
import { __extends } from "tslib";
import * as _ from '@antv/util';
import BasePlot from '../../base/plot';
import StackBarLayer from './layer';
var StackBar = /** @class */ (function (_super) {
__extends(StackBar, _super);
function StackBar() {
return _super !== null && _super.apply(this, arguments) || this;
}
StackBar.prototype.createLayers = function (props) {
var layerProps = _.deepMix({}, props);
layerProps.type = 'stackBar';
_super.prototype.createLayers.call(this, layerProps);
};
StackBar.getDefaultOptions = StackBarLayer.getDefaultOptions;
return StackBar;
}(BasePlot));
export default StackBar;
//# sourceMappingURL=index.js.map