UNPKG

@antv/g2plot

Version:

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

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