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